Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Ryan_Parman
4 years agoDedicated Contributor
[Feature Request] Using 1P SSH from inside a local Docker container
My team and I regularly use Docker for lightweight local environments that are pre-configured with things we need to develop that project. (It helps avoid things like "works on my machine".) If I nee...
Former Member
4 years agoI tried a 1Password 8 beta update (to "8700028, on Beta channel") and my preferred setup now works (it didn't before)!
Nope, I was mistaken. I was testing in the wrong window.
We're using a setup similar to what is described here.
Effectively we've been doing the following:
docker-compose.yml:
```
version: '3'
services:
app:
image: (most images should work, but I last tested with 'ruby:3.1')
environment:
SSH_AUTH_SOCK: /ssh-agent
volumes:
- $SSH_AUTH_SOCK:/ssh-agent
```
then executing docker compose run --rm app /bin/bash and performing SSH activities from there.
At this point, using the 1Password 8 SSH-Agent, I receive the following error:
Error response from daemon: error while creating mount source path '/host_mnt/Users/seansith/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock': mkdir /host_mnt/Users/seansith/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock: operation not supported
But when I use the macOS default ssh-agent at /run/host-services/ssh-auth.sock, it works fine.