Install the Harbor1.4.0 open-source docker image repository (including the letsencrypt certificate) and dockerletsencryptDocument version 20180216Harbor has been successfully installed on Ubuntu Linux 14.04 and CentOS Linux 7.4. The process is organized as follows for your reference:
Note: Use a non-root user to operate Docker, create a
Environment
All environments in this article, VMware Workstation running UBUNTU-13.10-SERVER-AMD64, note that the 64-bit system, in theory, other virtual machines are completely feasible.
Install Docker
The Docker 0.7 version requires Linux kernel 3.8 support and requires a Aufs file system.
# Check to see if AUFS is installedsudo apt-get updatesudo apt-get
Install mysql5.6 in docker in ubuntu, dockermysql5.6
1. Install mysql5.6
docker run mysql:5.6
Download complet installation is complete for all projects.
5.6: Pulling from library/mysql10a267c67f42: Pull complete c2dcc7bb2a88: Pull complete 17e7a0445698: Pull complete 9a61839a176f: Pull complete d4657fda01d9: Pull comp
Background
Due to kernel version problems, only Ubuntu can better support Docker at first. However, because the RedHat series OS (REHL, CentOS) is currently the mainstream Linux server operating system, it is necessary for the RedHat series OS to support Docker. At present, Docker and RedHat have started in-depth cooperation and launched Docker0.7 that can run on
Due to kernel version problems, only Ubuntu can better support docker at first. However, because the RedHat series OS (rehl, centos) is currently the mainstream Linux server operating system, it is necessary for the RedHat series OS to support docker. At present, docker and RedHat have started in-depth cooperation and launched docker0.7 that can run on the RedHat
Install Docker for CentOS7
Docker is a platform for developers and administrators to develop, deploy, and run applications! It allows you to quickly package applications and deploy applications!
Docker consists of the following two parts:
Docker engine: lightweight and powe
1. Go to github website to download Nvdia-docker
The command to download and install Nvdia-docker is
# If you have Nvidia-docker 1.0 installed:we need-remove it and all existing GPU containers
Docker volume Ls-q-F Driver=nvidia-docker
, to install in other environments will have to reinstall later, although many drills, and constantly accumulated installation experience, but the entire reviewboard environment step-by-step installation will take at least one day these two years Docker wind, and it makes Reviewboard installation, Migration, and so on, has become simpler.Reviewboard official website doc
Setting up Boot
[Root@localhost ~]# Systemctl enable Docker
Created symlink from/etc/systemd/system/multi-user.target.wants/ Docker.service To/usr/lib/systemd/system/docker.service.And then
[root@localhost ~] #shutdown-R now reboot
[Root@localhost ~]# systemctl status Docker see if the status is started
----------------------------------------------------------------------------------------------------
Install dockerce
1. Install the required dependency packages, mainly involvingyum-config-manager/device-mapper-persistent-dataAndlvm2
Run the following command to check whether the local dependency package has been installed:
# You can use the tab key to complete related commands, yum-config-manageryum List Installed | grep device-mapper-persistent-data # Check whether device-mapper-persistent-data is insta
How to install Docker on CentOS 7
Docker is an open-source tool that allows creation and managementLinux containerEasy to use. Containers are like lightweight virtual machines and can be started or stopped in milliseconds. Docker helps system administrators and programmers develop applications in containers and can ex
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 Linux kernel is required, and C
Centos6.7 install Docker and centos6.7docker1. view the system version
[root@localhost ~]# cat /etc/redhat-release CentOS release 6.7 (Final)
Ii. Install EPEL
1. Enter the centos6 EPEL Series
http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.html
2. wget download
[Root @ localhost ~] # Wget http://download.fedoraproject.org/pub/epel/
have the following features:
Use domestic software sources
Install process management tool supervisor to manage startup Processes
You can use the SSH service.
There are many ways to create a base image from a file system to create an image. The official recommendation is to directly create a base image from the pull repository on the official website, so here I choose to create a base image from the file system. For more information, see my other
The recent installation of Caffe on Ubuntu always has a variety of problems, although because of the system version of the problem is not installed CUDA, a lot less trouble, but in make when always missing this. o file or less that. h file. Docker common commands please see the first one in the reference section . This article directory 0. Installation of Docker 1. Get Caffe
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:
Because the Docker daemon uses Linux-specific kernel features, you cannot run Docker directly on OS X.Docker Toolbox Installation Docker:Https://github.com/widuu/chinese_docker/blob/master/installation/mac.mdDocker for MAC installation Docker (recommended):Download: https://docs.docker.com/docker-for-mac/
Docker is a good thing, thinking that Raspbian is a Debian-based system, and that certainly supports Docker.With Docker, there is an extremely simple way to install Home assistant on the Raspberry Pi.1. Installing Docker on the Raspberry PiCurl-ssl https://get.docker.com | shReference: https://www.raspberrypi.org/blog/
-y Install Docker-io4, start Docker:
Service Docker start
The first boot also automatically configures Cgconfig 5, viewing the Docker version
[Root@entel1/]# Docker version
client version:1.7.1
client API version:1.19 go
version
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.