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?

  • Is second value required when mapping ports in docker-compose file?
  • mesos-agent error failed to start: Unsupported container image type: DOCKER
  • Kubernetes pods are running but docker ps does not give any output
  • Docker / Celery: Can't get celery to run
  • Why does docker-compose build not reflect my django code changes?
  • After docker build . the container is not displayed, why?
  • docker phpmyadmin cant access localhost
  • Docker container not able to access port 5432
  • Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
  • Docker Cloud autotest cant find service
  • Can docker application use dependent images?
  • Using Docker in development for Java EE applications
  • One Solution collect form web for “How to run a Shiny docker container on Alpine Linux?”

    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/bash
    

    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
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.