Create a Docker Image From Container Kodekloud

 

Question: 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 media:xfusion on Application Server 1 from a container ubuntu_latest that is running on same server.

Solution

Login as root in mentioned server

ssh tony@stapp01

sudo su

Then check the container name 

docker ps

Now create an image from that container 

docker commit ubuntu_latest media:xfusion

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

4 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This work is best moved to a specific organization that has the most recent Photoshop programming.
    clipping path service

    ReplyDelete
  3. With the assistance of image editing programming, you can undoubtedly breathe life into stained photographs. clipping path company

    ReplyDelete
  4. "AI-generated art shows us the beauty of algorithmic creativity." ai image video

    ReplyDelete