You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a container with a network that doesn't exist gives a different error message when the daemon is in swarm mode.
Steps to reproduce the issue:
Try to run container and check error: docker run --rm --network=does-not-exist alpine
Enable swarm: docker swarm init
Retry running container and see that error has changed: docker run --rm --network=does-not-exist alpine
Describe the results you received:
> docker run --rm --network=does-not-exist alpine
docker: Error response from daemon: No such network: does-not-exist.
> docker swarm init
...
> docker run --rm --network=does-not-exist alpine
docker: Error response from daemon: Could not attach to network does-not-exist: rpc error: code = NotFound desc = network does-not-exist not found.
Describe the results you expected:
Same error with and without swarm enabled.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client:
Version: 17.09.0-ce-rc1
API version: 1.31
Go version: go1.8.3
Git commit: ae21824
Built: Wed Sep 6 22:25:36 2017
OS/Arch: darwin/amd64
Server:
Version: 17.09.0-ce-rc1
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: ae21824
Built: Wed Sep 6 22:31:19 2017
OS/Arch: linux/amd64
Experimental: true
Description
Running a container with a network that doesn't exist gives a different error message when the daemon is in swarm mode.
Steps to reproduce the issue:
docker run --rm --network=does-not-exist alpine
docker swarm init
docker run --rm --network=does-not-exist alpine
Describe the results you received:
Describe the results you expected:
Same error with and without swarm enabled.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Found containerizing integration tests: #34805
The text was updated successfully, but these errors were encountered: