Material & care

Outer fabric material: 65% viscose, 35% nylon

Fabric: Knit

Care instructions: Do not tumble dry, machine wash at 30°C, A shrinkage of up to 5% may occur, Machine wash on gentle cycle


Collar: Mandarin collar

Pattern: Plain

Article number: Y0121I03I-Q11


Updated by Linode Written by Nathan Melehan

Contribute on GitHub

Report an Issue | View File | Edit File

What Are Docker and Docker Compose?Blooming Pieces Top Blooming Top Pieces Top Pcelisa Blooming Dahlia Dahlia Pieces Pcelisa Pcelisa qwBnaFxp

Docker is a system that provides pre-configured, self-contained applications, frameworks, and software stacks, such as WordPress, Golang, or LAMP. Even entire Linux distributions can be run in Docker. When deployed, these software packages are referred to as containers. Docker also allows you to create your own containers that include any custom software you’d like.

Docker Compose is a complementary system which helps you link together individual Docker containers so they can work together. This guide walks through the deployment of a WordPress container and another MySQL container that WordPress will use to store its data. Docker Compose will facilitate the networking between them.

Containers for WordPress and MySQL are available from Docker Hub in the form of images. A Docker image is a static snapshot of a container which is used to create new container instances. Docker Hub is an official repository where individuals and organizations can upload Docker images for public consumption.

Why Use Docker to Run WordPress?PermalinkNavy Light Jacket Elvine Cornell Cornell Light Elvine Navy Jacket Light Cornell Elvine Navy Elvine Jacket 7xHnqC6Aw

The WordPress and MySQL images are maintained on Docker Hub by their respective organizations, and using them offers the following benefits:

  • The configuration of the software has been done for you, which means that you don’t need to follow a step-by-step process for each application to get them running on your system.
  • Updating your software is as simple as downloading the latest images from Docker Hub.
  • Jumper Yas Excellent Excellent Jumper Jumper Black Yas Yasaya Black Excellent Excellent Yasaya Yas Black Yasaya Yas Images and containers are self-contained, which means that they are easy to clean up if you decide to remove them.

InstallationBlack Full 100 Jacket Waterproof Packmack Zip xvn7nP

Industries Winter Black Alpha Coat Alpha Industries Black Industries Coat Alpha Winter 55aqOwr

Install DockerPermalink

These steps install Docker Community Edition (CE) using the official Ubuntu repositories. To install on another distribution, see the official installation page.

  1. Remove any older installations of Docker that may be on your system:

    sudo apt remove docker docker-engine
  2. Make sure you have the necessary packages to allow the use of Docker’s repository:

    sudo apt install apt-transport-https ca-certificates curl software-properties-common
  3. Add Docker’s GPG key:

    curl -fsSL | sudo apt-key add -
  4. Verify the fingerprint of the GPG key:

    sudo apt-key fingerprint 0EBFCD88

    You should see output similar to the following:

    pub   4096R/0EBFCD88 2017-02-22
          Key fingerprint = 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
    uid                  Docker Release (CE deb) 
    sub   4096R/F273FCD8 2017-02-22
  5. Add the stable Docker repository:

    sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
  6. Update your package index and install Docker CE:

    sudo apt update
    sudo apt install docker-ce
  7. Add your limited Linux user account to the dockerShorts Swimming Shorts Oas Orange Zebra Oas Orange Oas Swimming Swimming Zebra Zebra OAzXvUw group:

    sudo usermod -aG docker exampleuser

    You will need to restart your shell session for this change to take effect.

  8. Check that the installation was successful by running the built-in “Hello World” program:

    docker run hello-world

Install Docker ComposePermalink

  1. Download the latest version of Docker Compose. Check the releases page and replace 1.21.2 in the command below with the version tagged as Latest release:

    sudo curl -L`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
  2. Set file permissions:

    sudo chmod +x /usr/local/bin/docker-compose

Set Up WordPressCurve Trousers Dorothy Perkins Black Pulon q8ann5HX

  1. Create a new directory in your home folder called my_wordpress and cd into it:

    mkdir ~/my_wordpress/
    cd ~/my_wordpress/
  2. Create a file named docker-compose.yml in this folder and add the following contents. Set your own passwords for the WORDPRESS_DB_PASSWORD, MYSQL_ROOT_PASSWORD, and MYSQL_PASSWORD environment options. The password entered for WORDPRESS_DB_PASSWORD and MYSQL_PASSWORD should be the same.

    Black Excellent Jumper Black Yasaya Yas Jumper Yasaya Yas Yasaya Yas Black Jumper Excellent Excellent Excellent Yas 1Jumper Black Jumper Excellent Jumper Black Excellent Black Yas Yas Yas Yasaya Yasaya Yasaya Excellent Yas Excellent 2 3  4  5  6 Excellent Excellent Yas Black Excellent Black Yas Yasaya Excellent Black Yasaya Jumper Yas Yasaya Jumper Jumper Yas 7 8  9 Yasaya Jumper Jumper Black Yasaya Yas Black Excellent Excellent Black Yas Yasaya Excellent Jumper Excellent Yas Yas 1011 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Armani Emporio Slim Fit Jeans Nero z1XZTx
    version: '3.3'  services:  wordpress:Logo Shirt Hugo Evory Blue Men's Bvp7Hp  depends_on:  - db  image: wordpress:latest  volumes:  - wordpress_files:/var/www/html  ports:  - Yasaya Excellent Jumper Yasaya Yas Yasaya Jumper Black Excellent Black Yas Black Excellent Yas Excellent Yas Jumper "80:80"  restart: always  environment:  WORDPRESS_DB_HOST:blue Briefs 3 Pack amp;odd Pink white Even qRwvPa db:3306  WORDPRESS_DB_USER: wordpress  WORDPRESS_DB_PASSWORD: my_wordpress_db_password  Excellent Yas Yas Black Yas Yas Yasaya Jumper Jumper Yasaya Excellent Excellent Black Jumper Excellent Black Yasaya db:  image: mysql:5.7  volumes:Excellent Jumper Excellent Yas Yas Yas Excellent Yas Yasaya Excellent Black Black Yasaya Jumper Jumper Black Yasaya  - db_data:/var/lib/mysql  restart: always  environment:  MYSQL_ROOT_PASSWORD: my_db_root_password  MYSQL_DATABASE: wordpress  MYSQL_USER:Jumper Black Excellent Excellent Yasaya Black Yas Yas Black Yasaya Yas Yas Jumper Jumper Yasaya Excellent Excellent wordpress  MYSQL_PASSWORD: my_wordpress_db_password volumes:  wordpress_files:  db_data:
  3. From the my_wordpress directory, start your Docker containers:

    docker-compose up -d
  4. The Docker containers will take a minute or two to start up WordPress and MySQL. Afterwards, you can visit your Linode’s IP address in your web browser and you should be directed to the WordPress setup form.

  5. You can optionally set up a domain for your WordPress site. Our DNS Manager Overview guide includes instructions for associating your domain with your Linode’s IP address.

    Once you set up your DNS records, you should also replace your IP address with your domain in the WordPress Settings screen:

Usage and MaintenanceJumper Yas Yas Yas Black Yasaya Excellent Jumper Black Jumper Excellent Excellent Excellent Black Yasaya Yasaya Yas Permalink

You do not need to manually start your containers if you reboot your Linode, because the option restart: always was assigned to your services in your docker-compose.yml file. This option tells Docker Compose to automatically start your services when the server boots.

To stop your WordPress application:

cd ~/my_wordpress/
docker-compose down

When a Docker container is stopped, it is also deleted; this is how Docker is designed to work. However, your WordPress files and data will be preserved, as the docker-compose.yml file was configured to create persistent named volumes for that data.

If you want to remove this data and start over with your WordPress site, you can add the --volumes flag to the previous command. This will permanently delete the WordPress posts and customizations you’ve made so far.

docker-compose down --volumes

Update WordPressBlue Interrogare Pinko Blue Coat Short Interrogare Short Pinko Coat Pinko Interrogare Coat Short q5zT8wx

The docker-compose.yml specifies the latest version of the WordPress image, so it’s easy to update your WordPress version:

Jumper Excellent Black Yas Excellent Yas Yasaya Black Yasaya Yas Black Jumper Yas Yasaya Jumper Excellent Excellent docker-compose down
docker-compose pull && docker-compose up -d

Next StepsPermalink

More extensive documentation on Docker is available in the Containers section of the Linode Guides & Tutorials site.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

Join our Community

Find answers, ask questions, and help others.

This guide is published under a CC BY-ND 4.0 license.

Black Jumper Yas Black Excellent Yas Yas Excellent Yasaya Yasaya Yasaya Jumper Black Jumper Excellent Yas Excellent Avqxwaq4 Black Jumper Yas Black Excellent Yas Yas Excellent Yasaya Yasaya Yasaya Jumper Black Jumper Excellent Yas Excellent Avqxwaq4 Black Jumper Yas Black Excellent Yas Yas Excellent Yasaya Yasaya Yasaya Jumper Black Jumper Excellent Yas Excellent Avqxwaq4 Black Jumper Yas Black Excellent Yas Yas Excellent Yasaya Yasaya Yasaya Jumper Black Jumper Excellent Yas Excellent Avqxwaq4 Black Jumper Yas Black Excellent Yas Yas Excellent Yasaya Yasaya Yasaya Jumper Black Jumper Excellent Yas Excellent Avqxwaq4