Comments (2)
What is the use case for this?
You can do docker run --entrypoint python3 quay.io/fedora/fedora --version
I'm not quite sure why people really use --entrypoint
at all except to overwrite what's in the image.
from cli.
The image may define both an ENTRYPOINT
and CMD
and in this case you might want to override just the entrypoint while keeping the default CMD
. This custom entry point can be some wrapper binary which takes multiple parameter (as ENTRYPOINT
in a dockerfile might accept multiple parameters).
from cli.
Related Issues (20)
- canceling "docker volume prune" does not consistently print a newline, and exits with non-zero status HOT 6
- Canceling "volume prune" prints "Total reclaimed space: 0B" but likely shouldn't HOT 9
- Docker CLI: `docker image prune --all --force` is failing in Version 25.0.1 HOT 10
- 'extra_hosts' not working anymore in 'docker stack deploy' HOT 5
- symlink in Dockerfile empties target dir when building on remote DOCKER_HOST HOT 3
- Internal network with opt drivers HOT 2
- Apollo Server That's Running Inside of Docker can't Connect With Redis Cache on `localhost` HOT 2
- Latest version of docker (25.0.2) causes error on windows mingw bash when piping the stdout HOT 4
- Docker compose no longer completes service names. HOT 2
- Accept full semver in tag (add build metadata support with + symbol) HOT 1
- Add a "totals" line to the output of `docker stats` HOT 1
- docker search error! HOT 1
- Misleading error message for docker secret ls HOT 5
- Docker 25.03 - Updating Docker results in IP Error HOT 2
- Docker CLI 'init' is not a docker command HOT 1
- The `socket` package should hanndle reconnects and possibly mutliple connections
- docker cli segfaulton alpine HOT 5
- docs: converge on a common set of example images HOT 2
- Follow-up improvements for docker stack `--detach` options
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.