12

Someone not knowing the docker ps command teaching about docker :S

Comments
  • 2
    How would they even check whether a container is running? Netstat and see if a service is on the port or what?
  • 0
    No darn idea
  • 2
    @possum isn't there `docker container ls` command for that?
  • 0
    @SidTheITGuy He was trying exactly that, but it was not having it
  • 0
    docker --help lists it.

    What I'd rather find.... Frigging fucking absurdly inconvenient and frustrating...

    Is the go template for format:

    docker ps -a --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}\t{{.CreatedAt}}'

    One of the most needed commands has a formatting template, which is very good.

    But writing it via keyboard is ... A pain in the arse... Theres almost always a typo in it given the complexity.

    On the other hand: You can do a lot of great things with it.
  • 0
    Our university teachers only used docker desktop...
  • 2
    To be honest, I rant because this guy in particular does not seem to know what he's teaching
  • 0
    @possum There's a docker desktop GUI client which will show all running containers and could be all one needs for local dev.
Add Comment