❯ docker run \
--tmpfs /tmp/claude:rw,nosuid,size=1m \
-e CREDS=$(security find-generic-password -a $USER -w -s "Claude Code-credentials") \
-e HOME=/home/node \
claude-code:latest sh -c '
echo "$CREDS" > /tmp/claude/.credentials.json
chmod 600 /tmp/claude/.credentials.json
ln -s /tmp/claude/.credentials.json ~/.claude/.credentials.json
claude -p hi
'
Hi! I'm Claude Code, ready to help you with your software engineering tasks. What would you like to work on?
Created
June 21, 2025 09:20
-
-
Save laiso/ffaaa9e14ff5b7efaf208bcbbf0132ce to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment