Skip to content

gportay/docker-scripts

Repository files navigation

docker-scripts

NAME

dosh - run a user shell in a container with pwd bind mounted

domake - maintain program dependencies running commands in container

docker-clean - remove unused containers and images

docker-archive - show archive content

DESCRIPTION

dosh runs the command process in a container; using the current user, with pwd bind mounted.

domake runs on top of make(1) using dosh(1) as default shell.

docker-clean removes exited containers and dangling images that take place for nothing.

docker-archive displays à la git-log the content of a docker archive.

DOCUMENTATION

Using domake(1) and Makefile

$ domake doc
sha256:ced062433e33
asciidoctor -b manpage -o docker-clean.1 docker-clean.1.adoc
gzip -c docker-clean.1 >docker-clean.1.gz
asciidoctor -b manpage -o docker-archive.1 docker-archive.1.adoc
gzip -c docker-archive.1 >docker-archive.1.gz
rm docker-archive.1 docker-clean.1 
83727c98a60a9648b20d127c53526e785a051cef2235702071b8504bb1bdca59

INSTALL

Run the following command to install docker-scripts

$ sudo make install

Traditional variables DESTDIR and PREFIX can be overridden

$ sudo PREFIX=/opt/docker-scripts make install

or

$ DESTDIR=$PWD/pkg PREFIX=/usr make install

LINKS

Check for man-pages (dosh(1), domake(1), docker-clean(1), and docker-archive(1)) and theirs examples (dosh, domake, docker-clean).

Enjoy!

BUGS

Report bugs at https://github.com/gportay/docker-scripts/issues

AUTHOR

Written by Gaël PORTAY gael.portay@gmail.com

COPYRIGHT

Copyright (c) 2017-2019 Gaël PORTAY

This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.

About

Some scripts on top of Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published