ssh - docker run cannot find name flag argument -


i have setup rstudio application on google compute container engine using docker , rocker/rstudio package. want start saved container name using following ssh command line:

sudo docker -d -p 8787:8787 --name samplename user/laatste  

which returns following error

flag provided not defined: --name 

i have tried , without quotes, equal signs, double , single hyphens, before, between , after other flags , arguments, same error keeps returning.

version information:

client version: 1.5.0 client api version: 1.17 go version (client): go1.4.1 git commit (client): a8a31ef os/arch (client): linux/amd64 server version: 1.5.0 server api version: 1.17 go version (server): go1.4.1 git commit (server): a8a31ef 

the reason want name container want run standard (static) startup , shutdown scripts google compute instance automatically save , load changes made in r. container name used identifying container saved. other solution welcome.

i guess wanted do:

sudo docker run -d -p 8787:8787 --name samplename user/laatste 

you forgot specify command (run) here.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -