WWW.APPSERVGRID.COM
https://www.art2dec.co/fort/

Fixing portainer for access to docker environment
https://www.art2dec.co/fort/viewtopic.php?f=36&t=7421
Page 1 of 1

Author:  admin [ Sun Feb 17, 2019 4:51 pm ]
Post subject:  Fixing portainer for access to docker environment

ubuntu 16.04

Inside file /lib/systemd/system/docker.service change:

ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375


and run:


> pkill docker

> systemctl daemon-reload

> systemctl start docker.service

> docker-compose up
--------------------------------------------------------------------------------------------------------------------
I tried the above recommendations but then i cannot run any
docker container or any docker commands. It just hangs
after trying:


Inside file /lib/systemd/system/docker.service change:


ExecStart=/usr/bin/dockerd fd://
with
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375



Inside file /etc/init.d/docker change:

DOCKER_OPTS=
with
DOCKER_OPTS="-H tcp://0.0.0.0:2375"

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/