Use of Docker Playground
Last Updated :
12 Dec, 2022
Pre-requisite: Docker
Play with Docker or Docker Playground is a simple, interactive, and fun playground to learn Docker. It is an open-source platform for building, shipping, and running applications on containers online for learning or testing purposes online. This service is offered by Docker Inc and is free to use for all users for learning purposes with interactive sessions. With this playground you can run multiple versions of Docker on the session machine, so you can test different versions of software without having to rebuild.
Follow the below step-by-step procedure to use Play with Docker.
Step 1: Go to the official Docker Documentation website.
Step 2: Scroll down the page and Search for the topic Play with Docker >> Lab Environment
Step 3: Now you will be redirected to the Lab Environment
Step 4: Click on the Start button >> docker >> sign in with your docker username and password to access the playground. Create a docker account if you don’t have one.
Step 5: Once you access the docker playground, you get 4 hours of free sessions with a pre-installed docker version to learn, build and run your docker containers projects or use cases.
Step 6: Click on “+Add New INSTANCE” to add a docker instance to your playground. Once the instance is added you are able to see the response preview like the following.
Step 7: Now you are good to build and run Docker containers here. Before running some commands let’s check the docker versions using “docker –version”
To view the all hidden file you can run the following command “ls -al”
To view the docker information you can use the command “docker info”
To delete the session click on the “Delete” button to close or terminate the docker session.
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...