Docker Client.Timeout when specifying static ip in netplan configuration

Open
#2,424 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, linux, ubuntu
Domain
networking

Research direction

No repository file, test, or entry point is identified. Start by comparing the Ubuntu netplan configuration for enp3s0 with and without the static address, then reproduce the Docker login or image-pull timeout; done means identifying the network configuration causing the failure and documenting a working configuration or confirmed cause.

Written by the indexing model from the issue text.

Description

Ok i'll try to keep this brief....

Basically I have an ubuntu v18 server that i am assigning a static ip so that I can setup port-forwarding on my router. The issue I am running into is when I modify the netplan file and specify the static ip in the "addresses:" array under "enp3s0" it breaks the network for docker and it's unable to do anything from logging in to pulling a simple image.
docker_breaks
timeout

If I clear the addresses array and re-apply netplan then docker magically stops timing out....
docker_works
no_timeout

Can someone help me figure out what i'm doing wrong? I tried assigning a static ip in the addresses array for docker but that didn't work either.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moby/libnetwork

All issues in moby/libnetwork

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.