-
Couldn't load subscription status.
- Fork 91
Closed
Description
The docker run command works just fine! But when I use it with compose (as below) the ssh connection always gets established/authenticated and then closed immediately......
api:
build api
etc....
ssh:
image: jeroenpeeters/docker-ssh
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $(which docker):/usr/bin/docker
environment:
- CONTAINER=my_api_name
- AUTH_MECHANISM=noAuth
ports:
- "2222:22"
Am I missing sth obvious? (I'm just starting with docker). If needed I can post ssh -v output here..
Regards,
Thomas
Metadata
Metadata
Assignees
Labels
No labels