Given an existing docker container, prints the command line necessary to run a copy of it.
Thanks to @reconman this project's CI is back up and running. A few changes have been merged:
--memory
and --memory-reservation
courtesy of @kirktarou--pid
courtesy of @junkaIn addition the CI was overhauled (using GitHub Actions instead of Travis).
Support --stdin
(the output of docker inspect
) instead of specifying a container.
Thanks to @w1ndblow for the implementation!
The port parsing was re-done since the output of inspect
changed slightly.
The entrypoint is fixed (got lost in the migration to Poetry).
Thanks to @sestegra for the --runlike
feature.
NOTICE: support for python 2.7 has been removed. It's too much of a hassle in terms of CI to support python 2 any more. Sorry.
Hence the version bump to 1.0.0
Thank you to:
@anryko for helping fix a crash with python3.
@sh4wn for adding support for exposed ports and workdir
.
A bug fix courtesy of @anryko
--dns
support
Add add-host support.