I copied the files Dockerfile and entrypoint.sh from the "ssh" folder and I executed the commands
docker build --rm -t testname/ssh .
and
docker run --name ssh -d -p 2200:22 testname/ssh
as per the instructions but I get the message
ae515b5bdeb84f4338694b2c97266f234f93cea0a6f81a0623312be0156727d6 /usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/entrypoint.sh\\\": permission denied\"\n".
So that, it doesn't create the default user. Any idea about how to fix it?
I copied the files Dockerfile and entrypoint.sh from the "ssh" folder and I executed the commands
docker build --rm -t testname/ssh .
anddocker run --name ssh -d -p 2200:22 testname/ssh
as per the instructions but I get the messageae515b5bdeb84f4338694b2c97266f234f93cea0a6f81a0623312be0156727d6 /usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/entrypoint.sh\\\": permission denied\"\n".
So that, it doesn't create the default user. Any idea about how to fix it?