Comments (7)
you need to clean the sync first
docker-sync clean
or
docker-sync-stack clean
then you can change the source or change the sync strategy.
from docker-sync.
Oh I see now. The volume was still in use by my containers.
➜ Docker docker-sync clean
Error response from daemon: Unable to remove volume, volume still in use: remove code-sync: volume is in use - [c220ee512b85db43e81d656bfd408529c584b3397512153f42ae47e8b846d352, 0d9cc5b9f761cc7a25eb3a3823160f12e46cbe4702ed69194c80d5006175997b]
success Finished cleanup. Removed stopped, removed sync container and removed there volumes
I just read the green "sucess" the first time I tried.
I'm force to delete my container? I wish I can stop my container, cleanup, change the config and start again my container.
from docker-sync.
please explain, what your "container" is, the container rsync runs on, we call them sync-container ,or the app container
from docker-sync.
I want to keep the app container (In my case their is 3 containers for my app).
from docker-sync.
No you cannot do this, docker does not allow this.
You do not need, of course, to delete the app containers when you stopped ur synced and started again - the volumes / containers will be reused. But when you swap the sync strategy, you have to do this.
from docker-sync.
ok, thanks for your help!
from docker-sync.
your welcome :)
from docker-sync.
Related Issues (20)
- Feature Requestion: add update command HOT 1
- Default strategy for new Virtualization framework for Mac HOT 2
- Looking for changes - huge node_modules HOT 1
- File deleted on host still exists in app container HOT 11
- External network access and permission problems
- Enforcing one-way sync HOT 3
- `docker-sync -n` should create dummy volumes for non-started syncs
- Cannot start docker-sync with macOS Monterey - Apple M1 Chip HOT 2
- Bug: Wrong Unison image is pulled on M1 Mac HOT 4
- Docker sync daemon is crashing HOT 5
- `initialize': uninitialized constant DockerSync::DockerComposeSession HOT 4
- docker-sync start success, but I can't use docker-sync logs HOT 3
- Fatal error with Unison because of wrong default exclude definitions HOT 3
- Error in RSync strategy using the `sync_excludes` setting: undefined local variable or method `excludes_list' HOT 1
- Sync issue on MacOS 13.0 HOT 26
- `expand_ignore_strings`: undefined method `append` for Array HOT 3
- What's the "extra care" for using unison on OSX with sleep/hibernate. HOT 3
- Add support for passing --env-file to docker-sync start (using ENV file with/from different name or location)
- docker-sync start failed - /tmp/supervisor.sock no such file
- /docker-sync-1.0.5/tasks/sync/sync.thor:69:in `kill': Operation not permitted (Errno::EPERM) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-sync.