Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ENTRYPOINT to make container behave as an executable #29

Merged
merged 1 commit into from
May 1, 2018

Conversation

aureliojargas
Copy link
Owner

clitest is now the default command when running this image.

You can pass aditional options and files in docker run:

docker run --rm aureliojargas/clitest test.md

If you need to enter the container shell, use:

docker run --rm -it --entrypoint /bin/sh aureliojargas/clitest

clitest is now the default command when running this image.

You can pass aditional options and files in `docker run`:

    docker run --rm aureliojargas/clitest test.md

If you need to enter the container shell, use:

    docker run --rm -it --entrypoint /bin/sh aureliojargas/clitest
@aureliojargas aureliojargas merged commit 708f74a into master May 1, 2018
@aureliojargas aureliojargas deleted the docker-as-bin branch May 1, 2018 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant