Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

--no-deps flag is missing #242

Open
adius opened this issue Oct 15, 2017 · 3 comments
Open

--no-deps flag is missing #242

adius opened this issue Oct 15, 2017 · 3 comments

Comments

@adius
Copy link

adius commented Oct 15, 2017

https://docs.docker.com/compose/production/ describes to use this flag to restart single containers. Why is this missing in hyper. What's the correct way to do this with hyper?

@carmark
Copy link
Contributor

carmark commented Oct 17, 2017

hello @adius ,

Would you like to share what scenario do you want to use --no-deps? As I know, the compose service will depend on other service to get it running if link or deps_on filed is used.

@adius
Copy link
Author

adius commented Oct 17, 2017

https://docs.docker.com/compose/production/
That's the exact use case. What else do you need to know?

@adius
Copy link
Author

adius commented Oct 17, 2017

With flag:

hyper compose up \
 		--file=hyper-compose.yaml \
 		--no-deps \
 		--detach \
 		myapp
hyper run \
		--detach \
		--name myapp-1 \
		--link myapp-1:mydb \
		--publish 80:3000 \
		--env-file secrets.env \
		myapp
hyper fip attach myapp-ip myapp-1

Basically I have to duplicate my whole compose file into the run command 😒

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants