Repository navigation
New Feature
Unrecognized options are now forwarded to the docker run command (#4).
Before this change, it was not possible to pass custom options such as --volume, or --env; this is now possible, such as:
$ docker-here --volume=/foo:/bar --pull=never [...]
Tip
There is a caveat: if an option takes an argument, then you need to put an equal sign (=):
❌ Incorrect:
$ docker-here --volume /my-path:/mount-point alpine ls
✔️ Correct:
$ docker-here --volume=/my-path:/mount-point alpine ls
Warning
This is a breaking change, if you are currently using docker-here with the option --entrypoint or --pull, then you need to change them like so:
- Before this change (≤ v1.1.0):
$ docker-here --entrypoint my-command $ docker-here --pull never - After this change, do this instead (notice the added
=):$ docker-here --entrypoint=my-command $ docker-here --pull=never
Full Changelog: v1.1.0...v1.2.0