5.7 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 -i -t $INSTANCE_ID shORdocker attach $INSTANCE_ID

Impact-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/514

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 87df6f5f06eab52edb77a02f5f9c509306491715b7deb6c914dcc86e64ad14aa