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

--no-deps flag is missing #242

Open
Open

Description

@adius

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?

Activity

  1. carmark commented on Oct 17, 2017

    @carmark
    Contributor

    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.

  2. adius commented on Oct 17, 2017

    @adius
    Author

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

  3. adius commented on Oct 17, 2017

    @adius
    Author

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions