Skip to content

v1.2.0

Latest

Choose a tag to compare

@NyanKiyoshi NyanKiyoshi released this 29 Mar 19:46
· 1 commit to main since this release
v1.2.0
d439dfd

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