Preface
We have mentioned earlier that if we build the Docker cluster, there will be the need for a Docker instance network connection across the host, and in order to save the IP resources of the host network, we try to use DOCKER0 own network connection, add Host network IP to the main node (container instance), This should be a more desirable business requirement.
---------------------------------------
Enable Docker Remote API feature on Mac OS X system's Docker machine
The Docker daemon provides a set of remote rest APIs that can be referenced in documentation:
https://docs.docker.com/engine/reference/api/docker_remote_api/
This API is provided to clients when communicating with the Docker
the next reboot of the physical machine, only to reload the operating system.Compiling and installing SQLitewget http://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gzInstalling BTRFS-PROGSCENTOS7Yum Install Btrfs-progsCentos6git clone git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git cd btrfs-progs./autogen.sh./ Configuremakemake InstallSetting environment variablesExport Gopath=/path/to/go #docker目录放在 Statically compiled Dock
partition to the/var/lib/docker, and set the boot auto mount.
Mount/dev/vg_home/lv_docker/var/lib/docker
vim/etc/fstab
---
/dev/vg_home/lv_docker/docker_data ext4 defaults 0 0
----
F. Detect if Docker is available and data is complete
Docker images
G. Uninstall
Learning Goals:To view the running status of the Docker daemonStart, stop, restart the Docker daemonStartup options for the Docker daemonModify and view the startup options for the Docker daemon1. # View Docker running statusMethod One: Ps-ef | grep javaMethod Two: sudo stat
) installation of version 17.12.0 Docker-ce
sudo apt-get install Docker-ce=17.12.0~ce-0~ubuntu is reading the package list ... Complete the dependency tree that is analyzing the package reading status information ... Complete Recommended packages: Aufs-tools The following packages will be "degraded": DOCKER-CE upgraded 0 packages, newly installed 0 packag
Docker is a very hot technology at the moment, about the introduction of Docker here is not much to say, this article mainly describes how to configure Docker in the Ubuntu 14.04 environment of the local warehouse, for large-scale use of Docker in the LAN, frequently from the official website to download image files, U
http://blog.51cto.com/mysky0708/2298049To undertake the above, in the production of how to secure the link Docker host it? We use the TLS secret key approach.Steps:First Part: First generate the secret key on the Docker host and save it to the designated place;Part II: On the Management node (portainer), specify the above secret key and add the node.Specific implementation process:The first part of the code
Docker Quick Start series (4): Concepts and operations of data volumes and data volume containers, docker Quick StartIntroduction
Sometimes, some logs are generated when our services are running, or we need to back up the data in the container, or even share data between multiple containers, this must involve data management operations on containers.
There are two ways to manage data in containers:
Data V
Nvidia-docker
The description in the project mentions: Build and run Docker containers leveraging NVIDIA GPUs, a collection of open source project commands created to better provide a set of GPU services based on the NVIDIA chip.
Project address: Https://github.com/NVIDIA/nvidia-docker Docker vs Nvidia-
do you put the debug window? With Xcode 2.0 's drawing remote debugging, all the powerful Xcode debugging features (such as data format programs, Fix, Continue) can be used on remote machines to debug applications. Using the encrypted connection with the remote debugging phase, Xcode can guarantee your data security.
Development
Xcode 4 allows you to develop iOS based ipad, IPhone, ipod touch device apps, so long as you have Mac OS X Snow Leopard 10.6 2 version of Mac OS OS, you can install t
How to Use yum to install and uninstall jdk and use yum to uninstall jdk
The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:
Java version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
It is best to uninstall openjdk first and install the jdk
Docker Quick Start series (2): container concepts and related operations, docker Quick StartWhat is container
To put it simply, an image requires a carrier, which is a container. As mentioned in the previous article, an additional writable file layer will be started after the container loads the image.Let's take the VM as an example. The VM virtualizes the entire operating system and then runs the reference
The previous chapter has 2 questions in the study:
How do I save our changes in the container?
If Apt-get is not installed, how do I install the software in Docker?
About container issues created by runFor the first question, the original is executed each time (when the non-root user needs to add sudo before the command)-i-t docker/whalesay /bin/bashwill create a new container, which shoul
use Docker-enter to enter Docker containerDocker containers do not have sshd service, but also want to enter Docker how to do, we can use the nsenter into the Docker container namespace namespace to virtual login Docker container.Nsenter generally default from the belt, if n
1. View docker information (version, info)
# view Docker version
$docker version
# Displays information about the Docker system
$docker Info
2. Operation on image (search, pull, images, RMI, history)
# Retrieve image
$docker s
1. Docker uses the client-server (c/s) architecture pattern to manage and create Docker containers using remote APIs.2. Docker containers are created with Docker images.3, the relationship between container and mirror is similar to object and class in object-oriented programming. A mirror resembles a class, and a conta
How to deal with Docker in half a day and Docker in half a day
In fact, the volume ker is still very limited in real business scenarios. The Dockerfile script is not so easy to write, and some applications are not so well installed.
Don't talk nonsense. Teach you how to deal with docker for half a day!
Install dependencies and
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.