First, we need to init the folder structure for docker compose
mkdir nginx-compose cd nginx-compose touch docker-compose.yml
First, we need to init the folder structure for docker compose
mkdir nginx-compose cd nginx-compose touch docker-compose.yml
Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers. The use of Linux containers to deploy applications is called containerization. Containers are not new, but their use for easily deploying applications is
Ensure you’ve installed Docker already by the command:
docker --version
Run a docker image
docker container run httpd:2.4
Note: while httpd is the image name, “2.4” is the version of this image