5.6 Do not run ssh within containers

Information

http://blog.docker.com/2014/06/why-you-dont-need-to-run-sshd-in-docker/

Solution

Uninstall SSH server from the container and use nsenter or any other commands such as
docker exec or docker attach to interact with the container instance.docker exec --interactive --tty $INSTANCE_ID shORdocker attach $INSTANCE_IDImpact-None.
Default Value-By default, SSH server is not running inside the container. Only one process per container is
allowed.

See Also

https://workbench.cisecurity.org/files/517

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 8acc23dfb80ec8fabc80f43ffae14b7057d06b6b29983cc6f03cf8dab83e2a58