docker run -rm -ti -e PASSWORD=password -p 8889:8787 rocker/rstudio Now that Docker is working, let's try running RStudio Server. # Share images, automate workflows, and more with a free # Docker ID: # To try something more ambitious, you can run an Ubuntu container with: The Docker daemon streamed that output to the Docker client, which sent it # executable that produces the output you are currently reading. The Docker daemon created a new container from that image which runs the The Docker daemon pulled the "hello-world" image from the Docker Hub. The Docker client contacted the Docker daemon. # To generate this message, Docker took the following steps: # This message shows that your installation appears to be working correctly. # Status: Downloaded newer image for hello-world:latest # latest: Pulling from library/hello-world # Unable to find image 'hello-world:latest' locally # rvice loaded active running Docker Application Container Engine Sudo systemctl list-units -type=service | grep -i docker # add the ubuntu user to the docker groupĪfter logging back in, let's check whether Docker is working. Now I'll look for the matching Docker deb files at the Docker download page and use it to install Docker. My Ubuntu version on the EC2 instance is: cat /etc/os-release
Both users are using Bionic Beaver (Ubuntu 18.04) so I'll start an instance using this OS. Let me try to replicate these environments by using an Amazon EC2 instance. Two users have provided me with their OS and Docker versions. Perhaps some users are having problems with the latest RStudio Server image because they are using an outdated OS and/or Docker version? Let's test this out! The RStudio Server image for r-ver:4.2.0 is based on ubuntu:focal (Ubuntu 20.04). The latest RStudio Server image is based on r-ver:4.2.2, which is based on ubuntu:jammy (Ubuntu 22.04). Recently I have gotten several messages from users having problems with running RStudio Server with the latest R version (4.2.2) from The Rocker Project.