![]() This allows you to run docker without invoking sudo. In general you ports and redirection must be a same in basic conf /lib/systemd/system/docker. Once the command runs successfully, consider adding the currently logged-in user to the docker group. Sudo systemctl edit rvice ĮxecStart=/usr/bin/dockerd -H unix:// -D -H tcp://127.0.0.1:2375 This makes it easier to automatically start Docker when the machine reboots. Distributor ID: Ubuntu Description: Ubuntu 20. lsbrelease -a No LSB modules are available. Instead override it with unix like that: you can use command This is just a reminder to always enable docker service at system boot. ![]() if you have that line with unix:// that means your configuration is like my and override a config for docker service will not work as in tutorial.In my case - I installed a docker-ce by apt install… And basic configuration of docker-ce is different on 18.04 then 16.04 I have very similar problem two days ago - I’m not sure if is a same problem and my way will help you or not.īut - In my case on Ubuntu 16.04 everything works normally according that configuration :Īnd on 18.04 nothing works - error in docker run.
0 Comments
Leave a Reply. |