[INFO] 1 - Host Configuration [INFO] 1.1 - Linux Hosts Specific Configuration /usr/local/bin/host.tmpl: line 698: docker: not found /usr/local/bin/host.tmpl: line 699: docker: not found [WARN] 1.1.1 - Ensure a separate partition for containers has been created (Automated) [WARN] * The Docker root directory is not mounted on a separate partition. [INFO] 1.1.2 - Ensure only trusted users are allowed to control Docker daemon (Automated) [INFO] * Users: [WARN] 1.1.3 - Ensure auditing is configured for the Docker daemon (Automated) [WARN] * /usr/bin/dockerd is not audited in /etc/audit/audit.rules or auditctl command not found [WARN] 1.1.4 - Ensure auditing is configured for Docker files and directories - /run/containerd (Automated) [WARN] * /run/containerd is not audited in /etc/audit/audit.rules or auditctl command not found [WARN] 1.1.5 - Ensure auditing is configured for Docker files and directories - /var/lib/docker (Automated) [WARN] * Directory /var/lib/docker not found [WARN] 1.1.6 - Ensure auditing is configured for Docker files and directories - /etc/docker (Automated) [WARN] * Directory /etc/docker not found [WARN] 1.1.7 - Ensure auditing is configured for Docker files and directories - docker.service (Automated) [WARN] * File /usr/lib/systemd/system/docker.service not found [WARN] 1.1.8 - Ensure auditing is configured for Docker files and directories - containerd.sock (Automated) [WARN] * File /usr/lib/systemd/system/containerd.socket not found [WARN] 1.1.9 - Ensure auditing is configured for Docker files and directories - docker.socket (Automated) [WARN] * File /usr/lib/systemd/system/docker.socket not found [WARN] 1.1.10 - Ensure auditing is configured for Docker files and directories - /etc/default/docker (Automated) [WARN] * File /etc/default/docker not found [WARN] 1.1.11 - Ensure auditing is configured for Dockerfiles and directories - /etc/docker/daemon.json (Automated) [WARN] * File /etc/docker/daemon.json not found [WARN] 1.1.12 - Ensure auditing is configured for Dockerfiles and directories - /etc/containerd/config.toml (Automated) [WARN] * File /etc/containerd/config.toml not found [WARN] 1.1.13 - Ensure auditing is configured for Docker files and directories - /etc/sysconfig/docker (Automated) [WARN] * File /etc/sysconfig/docker not found [WARN] 1.1.14 - Ensure auditing is configured for Docker files and directories - /usr/bin/containerd (Automated) [WARN] * File /usr/bin/containerd not found [WARN] 1.1.15 - Ensure auditing is configured for Docker files and directories - /usr/bin/containerd-shim (Automated) [WARN] * File /usr/bin/containerd-shim not found [WARN] 1.1.16 - Ensure auditing is configured for Docker files and directories - /usr/bin/containerd-shim-runc-v1 (Automated) [WARN] * File /usr/bin/containerd-shim-runc-v1 not found [WARN] 1.1.17 - Ensure auditing is configured for Docker files and directories - /usr/bin/containerd-shim-runc-v2 (Automated) [WARN] * File /usr/bin/containerd-shim-runc-v2 not found [WARN] 1.1.18 - Ensure auditing is configured for Docker files and directories - /usr/bin/runc (Automated) [WARN] * File /usr/bin/runc not found [INFO] 1.2 - General Configuration [NOTE] 1.2.1 - Ensure the container host has been Hardened (Manual) /usr/local/bin/host.tmpl: line 1347: docker: not found sh: bad number sh: bad number [PASS] 1.2.2 - Ensure that the version of Docker is up to date (Manual) [INFO] * Using , verify is it up to date as deemed necessary [INFO] 2 - Docker daemon configuration [NOTE] 2.1 - Run the Docker daemon as a non-root user, if possible (Manual) [WARN] 2.2 - Ensure network traffic is restricted between containers on the default bridge (Scored) [WARN] * Need to set 'icc: false' in the Docker daemon configuration file. [PASS] 2.3 - Ensure the logging level is set to 'info' (Scored) [PASS] 2.4 - Ensure Docker is allowed to make changes to iptables (Scored) [PASS] 2.5 - Ensure insecure registries are not used (Scored) [PASS] 2.6 - Ensure aufs storage driver is not used (Scored) [INFO] 2.7 - Ensure TLS authentication for Docker daemon is configured (Scored) [INFO] * Docker daemon not listening on TCP [INFO] 2.8 - Ensure the default ulimit is configured appropriately (Manual) [INFO] * Default ulimit doesn't appear to be set [WARN] 2.9 - Enable user namespace support (Scored) [WARN] * User namespace support is not enabled. [PASS] 2.10 - Ensure the default cgroup usage has been confirmed (Scored) [PASS] 2.11 - Ensure base device size is not changed until needed (Scored) [WARN] 2.12 - Ensure that authorization for Docker client commands is enabled (Scored) [WARN] * Authorization for Docker client commands is not enabled. /usr/local/bin/host.tmpl: line 1680: docker: not found [PASS] 2.13 - Ensure centralized and remote logging is configured (Scored) [WARN] 2.14 - Ensure containers are restricted from acquiring new privileges (Scored) [WARN] * Containers are not restricted from acquiring new privileges. Ensure Docker is run with the '--no-new-privileges' flag to enhance security. [WARN] 2.15 - Ensure live restore is enabled (Scored) [WARN] * Live restore is not enabled. Enable live restore by running Docker with the '--live-restore' option to ensure container state is preserved on daemon restart. [WARN] 2.16 - Ensure Userland Proxy is Disabled (Scored) [WARN] * Userland Proxy is not disabled. For enhanced network performance and security, run Docker with the '--userland-proxy=false' flag. /usr/local/bin/host.tmpl: line 1772: docker: not found [INFO] 2.17 - Ensure that a daemon-wide custom seccomp profile is applied if appropriate (Manual) [INFO] 3 - Docker daemon configuration files [INFO] 3.1 - Ensure that the docker.service file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.2 - Ensure that docker.service file permissions are appropriately set (Automated) [INFO] * File not found [INFO] 3.3 - Ensure that docker.socket file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.4 - Ensure that docker.socket file permissions are set to 644 or more restrictive (Automated) [INFO] * File not found [INFO] 3.5 - Ensure that the /etc/docker directory ownership is set to root:root (Automated) [INFO] * Directory not found [INFO] 3.6 - Ensure that /etc/docker directory permissions are set to 755 or more restrictively (Automated) [INFO] * Directory not found [INFO] 3.7 - Ensure that registry certificate file ownership is set to root:root (Automated) [INFO] * Directory not found [INFO] 3.8 - Ensure that registry certificate file permissions are set to 444 or more restrictively (Automated) [INFO] * Directory not found [INFO] 3.9 - Ensure that TLS CA certificate file ownership is set to root:root (Automated) [INFO] * No TLS CA certificate found [INFO] 3.10 - Ensure that TLS CA certificate file permissions are set to 444 or more restrictively (Automated) [INFO] * No TLS CA certificate found [INFO] 3.11 - Ensure that Docker server certificate file ownership is set to root:root (Automated) [INFO] * No TLS Server certificate found [INFO] 3.12 - Ensure that the Docker server certificate file permissions are set to 444 or more restrictively (Automated) [INFO] * No TLS Server certificate found [INFO] 3.13 - Ensure that the Docker server certificate key file ownership is set to root:root (Automated) [INFO] * No TLS Key found [INFO] 3.14 - Ensure that the Docker server certificate key file permissions are set to 400 (Automated) [INFO] * No TLS Key found [INFO] 3.15 - Ensure that the Docker socket file ownership is set to root:docker (Automated) [INFO] * File not found [INFO] 3.16 - Ensure that the Docker socket file permissions are set to 660 or more restrictively (Automated) [INFO] * File not found [INFO] 3.17 - Ensure that the daemon.json file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.18 - Ensure that daemon.json file permissions are set to 644 or more restrictive (Automated) [INFO] * File not found [INFO] 3.19 - Ensure that the /etc/default/docker file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.20 - Ensure that the /etc/sysconfig/docker file permissions are set to 644 or more restrictively (Automated) [INFO] * File not found [INFO] 3.21 - Ensure that the /etc/sysconfig/docker file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.22 - Ensure that the /etc/default/docker file permissions are set to 644 or more restrictively (Automated) [INFO] * File not found [INFO] 3.23 - Ensure that the Containerd socket file ownership is set to root:root (Automated) [INFO] * File not found [INFO] 3.24 - Ensure that the Containerd socket file permissions are set to 660 or more restrictively (Automated) [INFO] * File not found [NOTE] 4.2 - Ensure that containers use only trusted base images (Manual) [NOTE] 4.3 - Ensure that unnecessary packages are not installed in the container (Manual) [NOTE] 4.4 - Ensure images are scanned and rebuilt to include security patches (Manual) [WARN] 4.5 - Ensure Content trust for Docker is Enabled (Automated) [WARN] * Content trust for Docker is not Enabled [PASS] 4.6 - Ensure that HEALTHCHECK instructions have been added to container images (Automated) [PASS] 4.7 - Ensure update instructions are not used alone in the Dockerfile (Manual) [NOTE] 4.8 - Ensure setuid and setgid permissions are removed (Manual) [PASS] 4.9 - Ensure that COPY is used instead of ADD in Dockerfiles (Manual) [NOTE] 4.10 - Ensure secrets are not stored in Dockerfiles (Manual) [NOTE] 4.11 - Ensure only verified packages are installed (Manual) [INFO] 6 - Docker Security Operations /usr/local/bin/host.tmpl: line 2710: docker: not found /usr/local/bin/host.tmpl: line 2713: docker: not found [INFO] 6.1 - Ensure that image sprawl is avoided (Manual) [INFO] * There are currently: 0 images sh: *: unknown operand sh: * : unknown operand /usr/local/bin/host.tmpl: line 2737: docker: not found [INFO] 6.2 - Ensure that container sprawl is avoided (Manual) [INFO] * There are currently a total of containers, with 0 of them currently running