-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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-compose stopped remotely updating the running containers with up --build command #8367
Comments
This seams to impact more commands/options while working with remote DOCKER_HOST including variable in .env file, --context and -H flags. Commands impacted:
As a workaround it is possible to define DOCKER_HOST in shell and then it works correctly
Or you can switch context manually using:
Output of
Output of
|
The solution with DOCKER_HOST doesn't work for me, I'm getting the same error as reported in this issue: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it had not recent activity during the stale period. |
Description of the issue
Starting from MacOS Docker Engine 20.10.3, docker-compose stopped remotely updating the running containers while running command:
docker-compose -H "ssh://..." up -d --build
Instead it builds and saves the image locally.
Context information (for bug reports)
Output of
docker-compose version
Output of
docker version
Output of
docker-compose config
(Make sure to add the relevant
-f
and other flags)Steps to reproduce the issue
Observed result
Docker compose just builds an image, but saves it locally and doesn't bring it up on the remote server.
Expected result
Docker should restart the remote containers with the latest built image.
Stacktrace / full error message
Additional information
MacOS Docker Engine version 20.10.3 and higher is affected.
Works well on 20.10.2 and lower.
The text was updated successfully, but these errors were encountered: