A few commands are enough
Credits: bugphai / iStock
After discussing the basics of Docker and creating your own images, it’s time to use your new knowledge to deploy a first (static) site. We will take this opportunity to discuss how to store your images in a private or public register.
As we saw in our previous article, Docker allows you to manage containers but also to create images and deploy them. You can thus make easily accessible a site, application or service from a local server. But what do you do when you want to offer it online, via a third-party server?
There are different methods and tools for this. One of them is the registry that stores images and allows them to be distributed online, publicly or privately. Docker offers its hub, but many others exist. They sometimes work in conjunction with specific deployment tools, to make your life easier.
Let’s do a first try by trying to deploy a small static site.
Our container file:
Linux Containers (LXC) in Proxmox VE 7.0: just install distributions and services