简体   繁体   中英

How to run a Shiny docker container on Alpine Linux?

I have Alpine Linux 2.6 64-bit installed with the latest version of docker. I pulled the rocker/shiny container to test Shiny. All is well but when I try to run the temporary container via:

docker run --rm -p 3838:3838 rocker/shiny

I get nothing. I verified the container exists via docker images . What am I missing?

Your container might be running in the background, you can use

docker ps 

If you start the container with --name shiny , you can give the running container a name. If you'd want to "log in" to the container you could start a shell inside of it by running something like:

docker exec -ti shiny /bin/sh

If you want to log into a running container which is not named explicitly you can also check out the name of your container by checking the output of

docker ps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM