Difference between revisions of "Docker run --entrypoint"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
 +
docker run --entrypoint "/bin/ls" debian -al /root
 +
docker run -it --entrypoint /usr/bin/redis-cli example/redis --help
  
  

Revision as of 15:05, 18 January 2023


docker run --entrypoint "/bin/ls" debian -al /root
docker run -it --entrypoint /usr/bin/redis-cli example/redis --help


ENTRYPOINT
docker --debug


docker run [ -it | -d -it | --mount | --volume | --name | --env | --publish | --rm | --help ]

Advertising: