-2

I am trying to run an image with a given container name.

How to achieve this?

I am running this command:

docker run -it -d macgyvertechnology/tensorflow-gpu:basic-jupyter --name hugging-face-models-run --gpus all

Exploring
  • 2,493
  • 11
  • 56
  • 97

1 Answers1

2

Docker run command format:

$  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

You need to update your command to

$ docker run -it -d --name hugging-face-models-run --gpus all macgyvertechnology/tensorflow-gpu:basic-jupyter 

Reference:

https://docs.docker.com/engine/reference/commandline/run/#usage

im_baby
  • 912
  • 1
  • 8
  • 14