Shell into swarm container
I'm unable to connect to a container that's running on a swarm. Seems like the following doesn't work: docker exec -it <container_ID> bash Here is some output: >$ docker service ls ID NAME REPLICAS IMAGE COMMAND 4rliefwe74o5 login 1/1 login-arm64:1.0 >$ docker service ps login ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR 2jk3s2xs7ce62piunbkiptypz login.1 login-arm64:1.0 odroid64-cluster4 Running Running 5 minutes ago Then I'll run: $ docker exec -it 2jk3s2xs7ce62piunbkiptypz bash or $ docker exec -it login.1 bash and see the following errors Error response from daemon: No such containe
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.