

Then Run docker-compose up to start and run the applicationsĭocker compose can perform the following actions:.Define the services that will create an application in docker-compose.yml file so that they can run together in an isolated environments.


View your exclusive accelerator address, like Run the following command sudo mkdir -p /etc/docker If you pull the mirror too slow, can consider is to use a mirror image of domestic developers need to open the ali developers account, then use the ali speed up service Ali developer account after login, cr./undefined/i. $docker pull Image name :tag Copy the code $yum install docker $docker -v Copy the code Upgrade software packages and kernels (optional).$uname -r # Docker requires a CentOS kernel version later than 3.10 Copy the code Use the IP address, root account, and password 123456 to connect to CentOS DOCKER installation Use the bridge network, select the appropriate network card $IP addr # Query the VM IP address Copy the code by Leanne Cooksley Category:ĭocker Docker installation and Redis containerĭocker installation, environment: VM CentOS 8 Ali Cloud image acceleration Redis container created.ĬentOS 7 installation will not be demonstrated here Connect the CENTOSĮnsure that the VMS and physical servers are on the same network segment
