Skip to content

TomographicImaging/docker-compose-https-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

docker networking issues

According to https://stfc.atlassian.net/wiki/spaces/CLOUDKB/pages/211877979/Fault+Fixes#Connectivity-https-services-seem-broken-from-inside-a-Docker-Container, docker https networking issues should be fixed by:

sudo iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

However it only fixes docker, not docker compose.

works

docker run --rm ubuntu /bin/bash -c \
  "apt update -qq && apt install -yqq wget && wget -O- https://github.com"

fails

# docker-compose.yml
services:
  test:
    image: ubuntu
    command:
    - /bin/bash
    - -c
    - apt update -qq && apt install -yqq wget && wget -O- https://github.com
docker compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published