docker-proxy
See original GitHub issueUbuntu 18.04.1 microk8s: v1.12.2 (266)
I was trying to docker-compose up -d
a Wordpress service with a port forward, using the microk8s docker and the exported DOCKER_HOST, but it failed:
driver failed programming external connectivity on endpoint hs-subscriptions_wordpress_1
(2b0dae5c331d1cf6a67c6b839631bdcd430c1cb756309f8a6d18c2cf5e98f46b): Error starting userland proxy:
This led me to discovering that /snap/microk8s/current/usr/bin/docker-proxy
throws a segmentation fault (core dumped)
. dmesg shows:
docker-proxy[6615]: segfault at 400318 ip 00007f3d759db949 sp 00007ffc0c293a90 error 7 in ld-2.23.so[7f3d759d8000+26000]
This might be related to issue #152, but I’m not familiar enough with how docker-proxy should work in this context.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Configure Docker to use a proxy server - Docker Documentation
Configure Docker to use a proxy server · In Docker 17.07 and higher, you can configure the Docker client to pass proxy information...
Read more >Configuring a Proxy in Docker - Baeldung
HTTP_PROXY is a type of proxy that acts as an intermediary server between a client and a web server. With an HTTP proxy...
Read more >How to configure docker to use proxy - The Geek Diary
A proxy is required when the server running Docker does not have direct access to the Internet. Configure the Docker daemon to use...
Read more >silarsis/docker-proxy - GitHub
Transparent caching proxy server for Docker containers, run in a Docker container. It can speed up the dependency-fetching part of your application build ......
Read more >Configuring Docker For Use With a Proxy
Proxy Setup on Ubuntu 16.04 · 1. Create a docker config file at ~/.docker/config.json · 2. Edit /etc/default/docker. Change the line that says...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@xgenvn I’ve used the
docker-proxy
contained in https://download.docker.com/linux/static/stable/x86_64/docker-18.06.1-ce.tgz (Ie. I’ve not installed the docker package but instead have just extracted this one file from the above archive.)We experienced the same issue with 1.13.2/edge (383) on Ubuntu 18.04, getting
Failed to allocate and map port: Error starting userland proxy: , retry: 1
errors when using the microk8s docker.As a workaround, we found that the “userland proxy” can either be deactivated or a path to a separate
docker-proxy
binary can be set.That would be editing
/var/snap/microk8s/current/args/docker-daemon.json
and using eitheror
(Note there might still be an issue with disabling the userland-proxy (see https://github.com/moby/moby/issues/14856).)