This blog post shows how you can run and manage your Docker images on vocon Cloud Desktop. We will launch an Ubuntu container, install git software as a root user and create and save the resulting Docker image on Docker Hub. Then we launch a Linux container based on the new Docker image.

Step 1: Launch an Ubuntu Terminal on vocon Cloud

vocon Cloud offers Linux environments running in your standard web browser. For that, click the following action card on cloud.vocon-it.com and register, if needed:

Ubuntu Terminal on vocon Cloud

Behind the scenes, an Ubuntu 20.04 Linux container is started. This usually takes only 20 sec or so (however, due to a known bug it sometimes takes up to 2.5 minutes. Please be patient), You will be redirected to a vocon Cloud Desktop with an  Ubuntu 20.04 terminal:

Ubuntu 20.04 running as Docker (Podman) Container

You will see that Podman is pulling an Ubuntu Docker image before it launches a Linux container based on that image. For your convenience, the command apt-get update is already performed within that container.

Step 2: Install any Software

Now you can install any software available in the Ubuntu software repository. Let us install git:

apt-get install -y git

Installing git within the Ubuntu Container

Step 3: Save your Changes (Commit&Push)

Now let us save your changes. For that, we need to run a terminal parallel to the original Ubuntu Terminal.

You might want to run the new Terminal in a separate workspace for easier switching between the two terminals in that case you need to click in another workspace on the upper right corner of the desktop:

Opening the second workspace of the vocon Cloud Desktop

The simplest way to start a terminal is via –> the Applications –> Terminal Emulator menu item…

Starting a new Terminal on a vocon Cloud Desktop

…or via a right-click on the desktop:

Context-menu via right-click on an empty space on the desktop

Now retrieve the image container ID via the podman ps command:

podman ps

Now register to hub.docker.io  to retrieve a Docker hub username, if needed. Then we commit the changes to a new image tag based on this username. We log in and push the new image to the Docker hub like follows:

$ podman login 
Username: <YOUR_DOCKER_HUB_USERNAME>
Password: <YOUR_DOCKER_HUB_PASSWORD>

$ podman commit <CONTAINER_ID> <YOUR_DOCKER_HUB_USERNAME>/<CHOOSE_ANY_IMAGE_NAME>:<OPTIONAL_IMAGE_TAG>
$ podman push <YOUR_DOCKER_HUB_USERNAME>/<CHOOSE_ANY_IMAGE_NAME>:<OPTIONAL_IMAGE_TAG>

Step 4: Start your custom Image Container

The next time you log into the Ubuntu container on vocon Cloud, you will see that the installed software is not available in the default Ubuntu container. However, you can start your container from your saved image instead as follows:

podman run --rm -it <YOUR_DOCKER.IO_USERNAME>/<CHOOSE_ANY_IMAGE_NAME>:<OPTIONAL_IMAGE_TAG> <COMMAND>

Starting a Linux Container from your custom Docker Image

As you can see the software you have installed in a previous step is still available. And you can start working from there.

We trust that you stick to the usage rules. Have fun!

Feedback is welcome: support@vocon-it.com.

76 comments

  1. Its like you read my mind You appear to know a lot about this like you wrote the book in it or something I think that you could do with some pics to drive the message home a little bit but instead of that this is fantastic blog An excellent read I will certainly be back

  2. I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my difficulty You are wonderful Thanks

  3. Somebody essentially lend a hand to make significantly posts I might state That is the very first time I frequented your web page and up to now I surprised with the research you made to create this particular put up amazing Excellent job

  4. Its like you read my mind You appear to know a lot about this like you wrote the book in it or something I think that you could do with some pics to drive the message home a little bit but instead of that this is fantastic blog An excellent read I will certainly be back

  5. Thanks I have recently been looking for info about this subject for a while and yours is the greatest I have discovered so far However what in regards to the bottom line Are you certain in regards to the supply

  6. Fantastic beat I would like to apprentice while you amend your web site how could i subscribe for a blog site The account helped me a acceptable deal I had been a little bit acquainted of this your broadcast offered bright clear concept

  7. Simply desire to say your article is as surprising The clearness in your post is simply excellent and i could assume you are an expert on this subject Fine with your permission let me to grab your feed to keep up to date with forthcoming post Thanks a million and please carry on the gratifying work

  8. Usually I do not read article on blogs however I would like to say that this writeup very compelled me to take a look at and do so Your writing taste has been amazed me Thanks quite nice post

  9. Its like you read my mind You appear to know so much about this like you wrote the book in it or something I think that you can do with a few pics to drive the message home a little bit but instead of that this is excellent blog A fantastic read Ill certainly be back

  10. Thanks I have recently been looking for info about this subject for a while and yours is the greatest I have discovered so far However what in regards to the bottom line Are you certain in regards to the supply

  11. The Beatles – ??????????? ?????????? ???-??????, ?????????????? ? 1960 ???? ? ?????????. ?? ?????? ????? ???????? ????? ? ??????? ???????? ??????? ?? ??????? ????????. ????? ?? ?????? ?????: „Hey Jude“, „Let It Be“, „Yesterday“, „Come Together“, „Here Comes the Sun“, „A Day in the Life“, „Something“, „Eleanor Rigby“ ? ?????? ??????. ?? ?????????? ?????????? ?????????????, ???????? ??????? ? ?????????????? ? ?????, ??? ??????? ?? ????? ?? ????? ??????????? ????? ? ??????? ??????. ?????? 2024 ???? ??????? ?????? ? ??????? ????????? mp3.

  12. CertsTopics offers CompTIA CompTIA A+ Certification Exam: Core 1 real exam questions and practice test engine with real questions and verified answers. Try CompTIA A+ Certification Exam: Core 1 exam questions for free. You can also download a free PDF demo of CompTIA CompTIA A+ Certification Exam: Core 1 exam. Our CompTIA A+ Certification Exam: Core 1 Combo Package for which includes PDF (Printable Format) and Testing Engine (Works on Windows and MAC) which ensures you to go through all certification topics and provides you ultimate satisfaction to pass your exam in your first attempt.

  13. Over the last week I eagerly started following this phenomenal website, they share fabulous content with visitors. The site owner excels at educating customers. I’m excited and hope they keep up their awesome work!

  14. I became a fan of this phenomenal website earlier this week, they give informative content to visitors. The site owner has a knack for educating readers. I’m impressed and hope they keep sharing great material.

  15. Attractive section of content I just stumbled upon your blog and in accession capital to assert that I get actually enjoyed account your blog posts Anyway I will be subscribing to your augment and even I achievement you access consistently fast

  16. Hi i think that i saw you visited my web site thus i came to Return the favore I am attempting to find things to improve my web siteI suppose its ok to use some of your ideas

  17. you are truly a just right webmaster The site loading speed is incredible It kind of feels that youre doing any distinctive trick In addition The contents are masterwork you have done a great activity in this matter

  18. What a fantastic resource! The articles are meticulously crafted, offering a perfect balance of depth and accessibility. I always walk away having gained new understanding. My sincere appreciation to the team behind this outstanding website.

  19. I do trust all the ideas youve presented in your post They are really convincing and will definitely work Nonetheless the posts are too short for newbies May just you please lengthen them a bit from next time Thank you for the post

  20. Normally I do not read article on blogs however I would like to say that this writeup very forced me to try and do so Your writing style has been amazed me Thanks quite great post

  21. I was recommended this website by my cousin I am not sure whether this post is written by him as nobody else know such detailed about my trouble You are amazing Thanks

  22. Magnificent beat I would like to apprentice while you amend your site how can i subscribe for a blog web site The account helped me a acceptable deal I had been a little bit acquainted of this your broadcast offered bright clear idea

  23. Hello i think that i saw you visited my weblog so i came to Return the favore Im trying to find things to improve my web siteI suppose its ok to use some of your ideas

  24. I loved as much as you will receive carried out right here The sketch is tasteful your authored subject matter stylish nonetheless you command get got an edginess over that you wish be delivering the following unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike

  25. of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  26. I do not even know how I ended up here but I thought this post was great I do not know who you are but certainly youre going to a famous blogger if you are not already Cheers

  27. I have been browsing online more than three hours today yet I never found any interesting article like yours It is pretty worth enough for me In my view if all website owners and bloggers made good content as you did the internet will be a lot more useful than ever before

  28. What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

  29. of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  30. Alguém essencialmente ajudou a tornar os artigos significativos. Id state Esta é a primeira vez que visitei sua página da web e até agora me surpreendi com a pesquisa que você fez para tornar este post incrível Trabalho fantástico

  31. Hi i think that i saw you visited my web site thus i came to Return the favore Im attempting to find things to enhance my siteI suppose its ok to use a few of your ideas

  32. Usually I do not read article on blogs however I would like to say that this writeup very compelled me to take a look at and do it Your writing style has been amazed me Thank you very nice article

  33. What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

  34. you are in reality a just right webmaster The site loading velocity is incredible It seems that you are doing any unique trick In addition The contents are masterwork you have performed a wonderful task on this topic

  35. you are truly a just right webmaster The site loading speed is incredible It kind of feels that youre doing any distinctive trick In addition The contents are masterwork you have done a great activity in this matter

  36. Our WGU Web-Development-Applications practice test is the most reliable solution to quickly prepare for your WGU WGU Web Development Applications (KVO1). We are certain that our WGU Web-Development-Applications practice exam will guide you to get certified on the first try. Here is how we serve you to prepare successfully.

  37. Hi i think that i saw you visited my web site thus i came to Return the favore I am attempting to find things to improve my web siteI suppose its ok to use some of your ideas

Comments

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.