This is a suite of tools that will come in handy if you're working with Docker. The suite contains:
dclean
can be used to get rid of old, exited Docker containers and dangling images.denter
will give you quick access into a shell of any running container.dip
shows the IP addresses of running containers.dkill
helps you to kill+remove a container or to kill all running containers with a single command.dupdate
will update all images that you've downloaded from any registry.
As you see, all tools agree on the leading d
;-)
You'll find better documentation on the Docker-Tools in my blog.
To install the tools just clone this repository and add the executables to your $PATH
environment.
If you're running a Debian-based system, you may instead use my apt-repository to install the Docker-Tools. In that case you just need to run
aptitude install bf-docker-tools
and you'll always stay up-to-date with bug fixes and new features :)
Docker-Tools - a suite of tools for easier dockering
Copyright (C) 2016-2017 Martin Scharm <https://binfalse.de/contact/>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.