Sure you might need other ones but I've found over time that these are the only ones I need or use on a regular basis, and I use Docker and docker-...
For further actions, you may consider blocking this person and/or reporting abuse
I would like to throw this one in:
Great if you need to run a bash shell in the current directory with e.g. Node 12. Replace docker image as needed.
This also links the aws and npm config into the docker container. Adjust config link through as needed.
nice! tks for sharing this
so cool <3
Additionally,
will also remove old volumes, that aren't connected to any currently running container. However, be cautious as this might lead to data loss.
nice! tks for sharing this!
Another powerful commands
Stop and clean up your docker-compose services (because yolo):
Build and start services in single line:
Build and start in background:
Run command with docker-compose:
See the logs an specific service
Enjoy!
Good commands, for log I like to add --tail in order to avoid to see only last X logs
docker-compose logs -f --tail [number] [service_name]
This is an excellent list and very helpful. Thanks Lina.
I will also add one more of my frequent commands to the list.
This brings the container up and builds if there are changes. This is a shorthand for
docker-compose build
anddocker-compose up
together. Comes in handy when you're making changes to yourcompose
file.nice one! tks
I came across something called lazydocker a few weeks. It's a command line ui for managing docker and docker-compose. Very handy for managing your local containers.
very interesting, thanks for sharing!
It's a great list. I use some of them.
As for the tool with UI to manage/monitor docker images and containers, I use Portainer :)
thank you! :)
helpful - thank you so much!
Though, I have used docker for more than couple of years. I was not aware of the second one. Thanks for sharing
i’m glad it was helpful!
Great write up!
thank you! :)