Recover disk space for docker:

  • docker system prune - Deletes unused images, stopped containers, etc
  • docker system prune -a - Deletes everything except running containers and the images used by those containers

Disable entrypoint when executing image:

docker run --rm --entrypoint='' <imageId or imageName> <sh(run something else)>


Specify additional arguments to pass to the entrypoint command:

docker run <imageId or imageName> <arg1> <arg2>