Docker image with personalised R Studio image
10K+
R-studio in a container
To allow usage of R-Studio in a portable way using Docker Container
docker run --rm -p 8787:8787 -e USER=user -e PASSWORD=pasword -v <local path>:/home/user/docker_folder
CTRL + C
docker container lsdocker container exec -it <docker name> bash or docker container exec -it <docker ID> bash, now you can see what is inside the container and make manipulations.exit to go out of the container.docker login - to authenticate
docker build . -t name_image:latest - to create image
We need to make sure that we are log-in so we type docker login.
Then we make a copy of our image docker tag <image name>:<tag> user_name_docker_hub/<image name>:<tag>
Then we push the image docker push user_name_docker_hub/<image name>:<tag>
Use the command docker save <image_name> > <image_name.tar>
Make sure you are in the correct path.
docker image rm <name-image> or docker image rm <tag>
docker load --input <name.tar>
docker tag <name image> <name image>:Version<number> to make a copy of the image and adding its version in the tag.
docker image ls check if it was copied the image.
Then we push the image.
Make changes in the docker file in the localhost.
Be sure you are in the correct folder on the command prompt.
Commit the changes docker commit -m "message" <container ID> image
Then we push the image.
We need to make sure that we are log-in so we type docker login.
Then we pull the image docker pull <image name>
Content type
Image
Digest
Size
1.4 GB
Last updated
over 5 years ago
docker pull 1edtrujillo1/image_r