Install and run docker in linux, and run docker in linux
Writer environment:
1. lsb_release-
Hello @ hello :~ $ Lsb_release-No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.3 LTSRelease: 16.04Codename: xenial
2. Update apt and
This article mainly and everyone mainly introduces the installation and use of Docker on Linux method, small series feel very good, now share to everyone, hope to help everyone.
Docker makes it particularly easy to create, deploy, and manage containers. Better yet, installing and using Docker is especially handy on
repository. Need the stable repository, even if you want to install builds from the edge or test repositories as well.$ sudo yum-config-manager --add-repo https://download.docker.com/linux/ Centos/docker-ce.repo
Optional:enable The edge and test repositories. These repositories is included in the docker.repo file above but is disabled by default. You c
1. Install docker on CentOS 6.4
Docker currently only supports Ubuntu, so it is troublesome to install Docker on CentOS (Issue #172 ).
According to the official docker documentation, at least 3.8 of
Install MySQL Service
Download MySQL Mirror:
Docker pull MySQL
Create the MySQL container and run in the background, specifying the database password is 123456. -e Specifies environment variables.
Docker run--name mysql_db-e mysql_root_password=123456-d MySQL
Using the official WordPress
WordPress Mirror Daocloud.io:
Rancher Labs currently has two products.Rancher Docker container management platformRancherOS is a Linux release suitable for running Docker, similar to CoreOSRancher Docker container management platformIf the native Docker is a container, Rancher can be used as a container
(J8 generationTable 8Threads are compiled at the same time, set according to your machine condition) Make-j8 Bzimage Make-J8 Modules Make-j8 Modules_install MakeInstall vim/etc/grub.conf Modifydefault=0Save. That is, choose to boot Linux from your newly compiled kernel. #重启 reboot #注意: Recompile the kernel, run Cd/usr/src/linux-3.10. Bayi MakeMrproper MakeClean3. Installing
Docker is an open-source application container engine that allows developers to package their applications and dependencies into a portable container, and then publish them to any popular Linux machine or virtualize them. Containers are completely sandbox-aware and do not have any interfaces with each other.Docker is Linux 64bit-based and cannot be used in a 32bi
Install Docker CE on Linux using the installation method from the package, linuxdocker
Install Docker CE on Linux using the installation method from the package
1. view the Linux system
1, install Docker, online a bunch, here does not elaborate.2. After entering Linux, use the docker command to download MySQL, commands such as:Docker Pull mysql:5.7After you run the command, the following log is displayed:5.7:pulling from MySQL4c8cbfd2973e:pull Complete60c52dbe9d91:pull CompleteC2b0136be90f:pull Comple
Now in the container of Docker test a paddle, in the future may be installed on the computer directly paddle;Install Docker, I do not say here, self-Baidu;The following is the focus, because the image of Docker (Imags) are in the foreign Dockerhub, the domestic network environment does not support Register an account,
://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK is displayed, indicating that the add operation is successful.5. Add a repository
$ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"6. Update the software again.
After practice, this step cannot be omitted. We need to update the software to the latest version. Otherwise, a
What is Docker machine?The MaChine is a tool for simplifying the installation of Docker environments. How to simplify the method, for example, installing a Docker environment in Ubuntu to install in accordance with the System configuration tutorial, which day changed the CentOS system, but also follow the system config
For details about how to install docker-ce and docker-compose in ubuntu,Install docker in mint 18.2 (Sonya)
Similar to ubuntu installation, refer to the ubuntu installation method provided on the official website.Delete the original version
Sudo apt-get remove
This is a creation in
Article, where the information may have evolved or changed.
1, about Docker
Docker is an open source project that was born in early 2013 and was originally an amateur project within the DotCloud company. It is based on Google's launch of the Go language implementation. The project later joined the Linux Foundation and complied with the Apach
Learn about Docker from today, and record it through the collection and learning of online materials.
What is it?Docker is a VMS-like, ultra-lightweight virtual machine based on the LXC implementation.It differs from VMS in that VMS provide a complete operating system virtual environment, from the hardware level, contains a lot of similar hardware drivers, virtual processors, network interfaces and so
Install docker and ubuntu
Docker
Environment:
Centos 6.5 64-bit
If the system is installed by default, the centos kernel is
[Root @ localhost ~] # Uname-Linux localhost. localdomain 2.6.32-431. el6.x86 _ 64
Docker supports 64-bit kernel for versions 3. xx and later.
1. F
-common # This has not been used in the previous process.3. Add GpgkeyCurl-fssl HTTPS://DOWNLOAD.DOCKER.COM/LINUX/UBUNTU/GPG | sudo apt-key add-4. Use the following command to check yoursudo apt-key fingerprint 0ebfcd88The output is as follows:Pub 4096r/0ebfcd88 2017-02-22 Key fingerprint = 9dc8 5822 9fc7 DD38 854A e2d8 8d81 803C 0EBF cd88uid Dock Er Release (CE deb) Second, start the installation Before using the Apt-get
As the testing server in the company is constantly changing, it is troublesome to configure the environment on the new server after each change. Then I suddenly thought about what I saw on the internet that Docker could quickly deploy portable containers, so I tried to use Docker to build a test environment for Tomcat and Oracle. Therefore, this article mainly focuses on some basic concepts and common comma
Docker ~ Deployment in linux, docker ~ Linux deployment
Docker is a popular container tool recently. It can help us quickly deploy applications, especially in the "microservice" environment. It is too troublesome to start, stop, and deploy hundreds of services once, if you d
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.