DockAPT
A magical fusion of docker
and apt
for Humans™
WHY
- apt is intrinsically designed to break your system
- docker solves 1
- but, docker is designed for hackers, not end user
INSTALL
$ pip3 install dockapt
$ dockapt install self
what does this do?
- checks if docker is installed
- creates the
~/.dockapt
directory -
git clone
this for a (fairly large) collection ofDockerfiles
- adds an alias file to your your
~/.bashrc
/~/.zshrc
HOW-TO
If you know apt
, you know dockapt
, mostly.
-
✨ $ dockapt search foobar
$ dockapt install foobar
$ foobar
$ dockapt remove foobar
-
✨ $ dockapt list
$ dockapt update
$ dockapt upgrade
-
✨ $ dockapt-repo add https://github.com/foo/bar.git
$ dockapt-repo remove https://github.com/foo/bar.git
$ dockapt-repo list
HOW
- recursively searches
~/.dockapt/repositories/
for allDockerfile
(s) - builds the corresponding
Dockerfile
when you rundockapt install
- (I am currently looking into integration with docker registry so you can just pull pre-built images)
- adds an alias for the
docker run ...
command (fromDockerfile
comments)