Code Monkey home page Code Monkey logo

Comments (7)

EugenMayer avatar EugenMayer commented on July 26, 2024

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.

gagarine avatar gagarine commented on July 26, 2024

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.

EugenMayer avatar EugenMayer commented on July 26, 2024

please explain, what your "container" is, the container rsync runs on, we call them sync-container ,or the app container

from docker-sync.

gagarine avatar gagarine commented on July 26, 2024

I want to keep the app container (In my case their is 3 containers for my app).

from docker-sync.

EugenMayer avatar EugenMayer commented on July 26, 2024

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.

gagarine avatar gagarine commented on July 26, 2024

ok, thanks for your help!

from docker-sync.

EugenMayer avatar EugenMayer commented on July 26, 2024

your welcome :)

from docker-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.