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

Docker: issuing S2/host docker commands #30

Open
timothyquan opened this issue Jun 25, 2022 · 0 comments
Open

Docker: issuing S2/host docker commands #30

timothyquan opened this issue Jun 25, 2022 · 0 comments

Comments

@timothyquan
Copy link

timothyquan commented Jun 25, 2022

Hello,

I think I have this working in a docker container, thank you.
One caveat though is that I am manually stopping the plex docker container on S2. I probably misunderstand something about the intent, wondering if anyone can tell me what I'm missing?

Given:
S1 is a docker container whose host is accessible by SSH
S2 is a docker container running on the local docker instance
plex-db-sync is a guest docker container running on the same local host as S2

I don't understand how the guest plex-db-sync docker container can run these docker commands against the host:

  - S2_START=cd /docker; docker-compose up -d plex
  - S2_STOP=cd /docker; docker-compose stop plex
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