![]() ![]() The Docker run command is used for creating a container from an image. Status: Downloaded newer image for wordpress:latest docker pull wordpressĪfter a successful pull, you should receive the following output: docker pull wordpressĭigest: sha256:fd08649a97d2cb6967fb0a5cd8a710e2b6075502eb18f6c3f841a4d986c0700b Let’s pull the WordPress package we searched for in the previous step. Wordpress The WordPress rich content management system… 5012 īitnami/wordpress Bitnami container image for WordPress 208 īitnami/wordpress-nginx Bitnami Docker Image for WordPress with NGINX 67 ĭocker pull is used for taking the application from the official Docker Hub. NAME DESCRIPTION STARS OFFICIAL AUTOMATED You will receive a list of available WordPress packages: docker search wordpress To search for some software that can be installed with Docker, execute the following command: docker search wordpress You should receive output similar to this: docker -version To check the installed Docker version, execute the command docker –version. Now, when the Docker service is installed, we can start with the docker commands. └─120228 /usr/bin/dockerd -H fd:// -containerd=/run/containerd/containerd.sock Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 15:13:24 CST 10min ago rvice - Docker Application Container Engine.You should receive the following output: systemctl status docker To check the status of the service, execute the following command: sudo systemctl status docker Once the GPGK key is added, we need to add the repo because it is not included in the Ubuntu 22.04: sudo add-apt-repository "deb focal stable"Īfter adding the key and repo, you can install Docker with the following commands: sudo apt-get install docker-ce docker-ce-cli containerd.io -yĪfter successful installation, start and enable the docker service: sudo systemctl enable docker & sudo systemctl start docker Next is to add the GPGK key: curl -fsSL | sudo apt-key add. User privileges: root or non-root user with sudo privilegesīefore we start with the installation of Docker, we will update the system packages to their latest versions available: sudo apt-get update -y & sudo apt-get upgrade -y Install Dockerįirst, we need to install some Docker dependencies: sudo apt-get install apt-transport-https curl gnupg-agent ca-certificates software-properties-common -y.
0 Comments
Leave a Reply. |