docker-skype-pulseaudio
docker-skype-pulseaudio copied to clipboard
Changed the ENTRYPOINT which was failing with a Extra argument /bin/bash...
....
I got the same error. Could this be a change of semantics in docker entrypoint/cmd. Docker version 1.1.0
I needed to change this as well, before Docker 1.0 even I believe.
I also needed to change this to get it to work properly. Docker version 1.0.1.
I had a similar problem,
Attaching to docker_sshd_1
sshd_1 | Extra argument /usr/sbin/sshd.
docker_sshd_1 exited with code 1
After reading https://medium.freecodecamp.org/docker-entrypoint-cmd-dockerfile-best-practices-abc591c30e21 https://stackoverflow.com/questions/54328586/docker-run-fails-error-extra-argument-xxx/54328587#54328587
I ended up doing the following
ENTRYPOINT ["/usr/sbin/sshd" ]
# by defualt start sshd as backgournd daemon
CMD ["-D" ]
My container now starts up correctly and I can pass arguments to it at run time.
docker run -p 2022:22 -it test:latest -d