Menu

Post image 1
Post image 2
1 / 2
0

3.Create a Docker Image From Container

DEV Community·Thu Kha Kyawe·about 1 month ago
#ujCqEZwq
Reading 0:00
15s threshold

Task Information One of the Nautilus developer was working to test new changes on a container. He wants to keep a backup of his changes to the container. A new request has been raised for the DevOps team to create a new image from this container. Below are more details about it: a. Create an image official:nautilus on Application Server 1 from a container ubuntu_latest that is running on same server. Task Solutions Part 1: Lab Step-by-Step Guidelines ✅ Task On Application Server 1 (stapp01), create a new Docker image: official:nautilus from the running container: ubuntu_latest Step 1: Login to the Jump Host ssh thor@jump-host # Password: mjolnir123 Enter fullscreen mode Exit fullscreen mode Step 2: SSH into App Server 1 ssh tony@stapp01 # Password: Ir0nM @n Enter fullscreen mode Exit fullscreen mode Step 3: Verify the container is running Check that container ubuntu_latest exists: docker ps Enter fullscreen mode Exit fullscreen mode You should see: ubuntu_latest Step 4: Create image from the container Use…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More