Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting yapi-mongo ... error #25

Closed
dybxin opened this issue May 19, 2020 · 1 comment
Closed

Starting yapi-mongo ... error #25

dybxin opened this issue May 19, 2020 · 1 comment

Comments

@dybxin
Copy link

dybxin commented May 19, 2020

WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use docker stack deploy.

Starting yapi-mongo ... error

ERROR: for yapi-mongo Cannot start service yapi-mongo: Could not attach to network 7da9142ae8e2603e0abcffcd68b9970c35f831c9a4eba19c2b2121a961919eed: rpc error: code = NotFound desc = network 7da9142ae8e2603e0abcffcd68b9970c35f831c9a4eba19c2b2121a961919eed not found

ERROR: for yapi-mongo Cannot start service yapi-mongo: Could not attach to network 7da9142ae8e2603e0abcffcd68b9970c35f831c9a4eba19c2b2121a961919eed: rpc error: code = NotFound desc = network 7da9142ae8e2603e0abcffcd68b9970c35f831c9a4eba19c2b2121a961919eed not found
ERROR: Encountered errors while bringing up the project.

@dybxin
Copy link
Author

dybxin commented May 19, 2020

执行docker-compose down,然后执行docker-compose up -d

@dybxin dybxin closed this as completed May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant