HomeTechnologyHow to deploy a static site on demand via Docker (CaaS) and...

How to deploy a static site on demand via Docker (CaaS) and your own image

A few commands are enough

Comment déployer un site statique à la demande via Docker (CaaS) et votre propre image

Credits: bugphai / iStock

David Legrand

By David Legrand

Thursday 25 November 42 at 09: 25

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:

  • Docker and containerization by example
  • How to deploy a static site on demand via Docker (CaaS) and your own image
  • Linux Containers (LXC) in Proxmox VE 7.0: just install distributions and services

    Prepare yourself before you start 2021

    Subscribe to TheConservativeNut Newsletter.


    RELATED ARTICLES

    RECENT