Could not resolve host: gogs-repo
问题 I have a running container: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3825fa57b1ae repo:0.1.0 "/app/gogs/docker/st…" 29 minutes ago Up 29 minutes 22/tcp, 3000/tcp gogs-repo and tried to curl it from another container as follows: docker run --rm curlimages/curl:7.69.1 -L -v http://gogs-repo:3000 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Could not resolve host: gogs-repo I've