sthope-examples/custom-cmds-in-ubuntu/bin_examples/install-docker-and-portainer-noroot
2021-09-04 02:33:44 +02:00

8 lines
255 B
Plaintext

mkdir -p /etc/systemd/system/docker.service.d/
cat << EOF > /etc/systemd/system/docker.service.d/startup_options.conf
# /etc/systemd/system/docker.service.d/override.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376
EOF