Coder Social home page Coder Social logo

Comments (5)

mjarkk avatar mjarkk commented on May 5, 2024 2

You can do this in the container overview.

  • d: remove
  • s: stop

But i'm not sure if it's a good idea to beadle to stop 1 service from the service tab because docker-compose wants you to stop/start/kill all containers at the same time.

from lazydocker.

MisterGlass avatar MisterGlass commented on May 5, 2024

That is good to know! I'll definitely start using those shortcuts, though I find buttons more friendly.

Not all users are using compose, but maybe a kill all button would be better in that case.

from lazydocker.

jesseduffield avatar jesseduffield commented on May 5, 2024

@MisterGlass I'm aware that these commands can be used to stop/remove all containers:

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

It sounds like what we might want is to make shift+S run that first command, and shift+d run the second one. We'd need to move the prune command to 'p' but that's fine. Or maybe it's not because we might want to have docker push and docker pull reserved for p to bring it inline with lazygit's commands. Maybe we should just chuck all three options into a menu. What are our thoughts?

from lazydocker.

MisterGlass avatar MisterGlass commented on May 5, 2024

@jesseduffield I would prefer an action menu or something along those lines to keyboard shortcuts. I ran out of headspace to memorize more shortcuts years ago ;)

from lazydocker.

jesseduffield avatar jesseduffield commented on May 5, 2024

I believe this is now implemented, so I'm closing. If I've misunderstood, let me know and we can reopen

from lazydocker.

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.