Docker is not honoring configuration to listen on tcp socket

Bug #1848437 reported by Daniel
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker (Ubuntu)

Bug Description

I would like to configure docker to listen on port tcp://
I have tried different configuration options like /etc/docker/daemon.json and /etc/default/docker with
DOCKER_OPTS="--host unix:///var/run/docker.sock --host tcp:// --dns"
but docker will never use the tcp settings.

The only way I have found that works is to change /etc/systemd/system/
BUT this file is replaced every time there is a new version.

What is the correct way to configure docker to listen on 'tcp://' and specify dns???

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers