You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to wrap my head around if what I'm trying is actually not possible:
I have a bunch of services I want stopped. The services are defined by docker-compose files and contain binds to volumes on the local file system (outside docker).
Using the PRE_COMMANDS env variable, I can shut down the services just fine inside the backup container, after I installed docker-compose by patching the Dockerfile. The problem I have is that I cannot start them again, because all mounts point to locations on the local fs, which dont exist in docker container. Even if I could somehow solve this, I'm afraid that running docker-in-docker would lead to unexpected results if the backup container gets stopped. I don't see any good way around this rather than running my start script outside the docker container, and then, why bother using docker at all, unless it is to avoid installing restic locally?
The text was updated successfully, but these errors were encountered:
I'm trying to wrap my head around if what I'm trying is actually not possible:
I have a bunch of services I want stopped. The services are defined by docker-compose files and contain binds to volumes on the local file system (outside docker).
Using the PRE_COMMANDS env variable, I can shut down the services just fine inside the backup container, after I installed docker-compose by patching the Dockerfile. The problem I have is that I cannot start them again, because all mounts point to locations on the local fs, which dont exist in docker container. Even if I could somehow solve this, I'm afraid that running docker-in-docker would lead to unexpected results if the backup container gets stopped. I don't see any good way around this rather than running my start script outside the docker container, and then, why bother using docker at all, unless it is to avoid installing restic locally?
The text was updated successfully, but these errors were encountered: