亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

directory search
Compose About versions and upgrading (Compose) ASP.NET Core + SQL Server on Linux (Compose) CLI environment variables (Compose) Command-line completion (Compose) Compose(組成) Compose command-line reference(組合命令行參考) Control startup order (Compose) Django and PostgreSQL (Compose) Docker stacks and distributed application bundles (Compose) docker-compose build(docker-compose構(gòu)建) docker-compose bundle docker-compose config docker-compose create docker-compose down docker-compose events docker-compose exec docker-compose help docker-compose images docker-compose kill docker-compose logs docker-compose pause docker-compose port docker-compose ps docker-compose pull docker-compose push docker-compose restart docker-compose rm docker-compose run docker-compose scale docker-compose start docker-compose stop docker-compose top docker-compose unpause docker-compose up Environment file (Compose) Environment variables in Compose Extend services in Compose Frequently asked questions (Compose) Getting started (Compose) Install Compose Link environment variables (deprecated) (Compose) Networking in Compose Overview of Docker Compose Overview of docker-compose CLI Quickstart: Compose and WordPress Rails and PostgreSQL (Compose) Sample apps with Compose Using Compose in production Using Compose with Swarm Engine .NET Core application (Engine) About images, containers, and storage drivers (Engine) Add nodes to the swarm (Engine) Apply custom metadata (Engine) Apply rolling updates (Engine) apt-cacher-ng Best practices for writing Dockerfiles (Engine) Binaries (Engine) Bind container ports to the host (Engine) Breaking changes (Engine) Build your own bridge (Engine) Configure container DNS (Engine) Configure container DNS in user-defined networks (Engine) CouchDB (Engine) Create a base image (Engine) Create a swarm (Engine) Customize the docker0 bridge (Engine) Debian (Engine) Default bridge network Delete the service (Engine) Deploy a service (Engine) Deploy services to a swarm (Engine) Deprecated Engine features Docker container networking (Engine) Docker overview (Engine) Docker run reference (Engine) Dockerfile reference (Engine) Dockerize an application Drain a node (Engine) Engine FAQ (Engine) Fedora (Engine) Get started (Engine) Get started with macvlan network driver (Engine) Get started with multi-host networking (Engine) How nodes work (Engine) How services work (Engine) Image management (Engine) Inspect the service (Engine) Install Docker (Engine) IPv6 with Docker (Engine) Join nodes to a swarm (Engine) Legacy container links (Engine) Lock your swarm (Engine) Manage nodes in a swarm (Engine) Manage sensitive data with Docker secrets (Engine) Manage swarm security with PKI (Engine) Manage swarm service networks (Engine) Migrate to Engine 1.10 Optional Linux post-installation steps (Engine) Overview (Engine) PostgreSQL (Engine) Raft consensus in swarm mode (Engine) Riak (Engine) Run Docker Engine in swarm mode Scale the service (Engine) SDKs (Engine) Select a storage driver (Engine) Set up for the tutorial (Engine) SSHd (Engine) Storage driver overview (Engine) Store service configuration data (Engine) Swarm administration guide (Engine) Swarm mode key concepts (Engine) Swarm mode overlay network security model (Engine) Swarm mode overview (Engine) Understand container communication (Engine) Use multi-stage builds (Engine) Use swarm mode routing mesh (Engine) Use the AUFS storage driver (Engine) Use the Btrfs storage driver (Engine) Use the Device mapper storage driver (Engine) Use the OverlayFS storage driver (Engine) Use the VFS storage driver (Engine) Use the ZFS storage driver (Engine) Engine: Admin Guide Amazon CloudWatch logs logging driver (Engine) Bind mounts (Engine) Collect Docker metrics with Prometheus (Engine) Configuring and running Docker (Engine) Configuring logging drivers (Engine) Control and configure Docker with systemd (Engine) ETW logging driver (Engine) Fluentd logging driver (Engine) Format command and log output (Engine) Google Cloud logging driver (Engine) Graylog Extended Format (GELF) logging driver (Engine) Journald logging driver (Engine) JSON File logging driver (Engine) Keep containers alive during daemon downtime (Engine) Limit a container's resources (Engine) Link via an ambassador container (Engine) Log tags for logging driver (Engine) Logentries logging driver (Engine) PowerShell DSC usage (Engine) Prune unused Docker objects (Engine) Run multiple services in a container (Engine) Runtime metrics (Engine) Splunk logging driver (Engine) Start containers automatically (Engine) Storage overview (Engine) Syslog logging driver (Engine) tmpfs mounts Troubleshoot volume problems (Engine) Use a logging driver plugin (Engine) Using Ansible (Engine) Using Chef (Engine) Using Puppet (Engine) View a container's logs (Engine) Volumes (Engine) Engine: CLI Daemon CLI reference (dockerd) (Engine) docker docker attach docker build docker checkpoint docker checkpoint create docker checkpoint ls docker checkpoint rm docker commit docker config docker config create docker config inspect docker config ls docker config rm docker container docker container attach docker container commit docker container cp docker container create docker container diff docker container exec docker container export docker container inspect docker container kill docker container logs docker container ls docker container pause docker container port docker container prune docker container rename docker container restart docker container rm docker container run docker container start docker container stats docker container stop docker container top docker container unpause docker container update docker container wait docker cp docker create docker deploy docker diff docker events docker exec docker export docker history docker image docker image build docker image history docker image import docker image inspect docker image load docker image ls docker image prune docker image pull docker image push docker image rm docker image save docker image tag docker images docker import docker info docker inspect docker kill docker load docker login docker logout docker logs docker network docker network connect docker network create docker network disconnect docker network inspect docker network ls docker network prune docker network rm docker node docker node demote docker node inspect docker node ls docker node promote docker node ps docker node rm docker node update docker pause docker plugin docker plugin create docker plugin disable docker plugin enable docker plugin inspect docker plugin install docker plugin ls docker plugin push docker plugin rm docker plugin set docker plugin upgrade docker port docker ps docker pull docker push docker rename docker restart docker rm docker rmi docker run docker save docker search docker secret docker secret create docker secret inspect docker secret ls docker secret rm docker service docker service create docker service inspect docker service logs docker service ls docker service ps docker service rm docker service scale docker service update docker stack docker stack deploy docker stack ls docker stack ps docker stack rm docker stack services docker start docker stats docker stop docker swarm docker swarm ca docker swarm init docker swarm join docker swarm join-token docker swarm leave docker swarm unlock docker swarm unlock-key docker swarm update docker system docker system df docker system events docker system info docker system prune docker tag docker top docker unpause docker update docker version docker volume docker volume create docker volume inspect docker volume ls docker volume prune docker volume rm docker wait Use the Docker command line (Engine) Engine: Extend Access authorization plugin (Engine) Docker log driver plugins Docker network driver plugins (Engine) Extending Engine with plugins Managed plugin system (Engine) Plugin configuration (Engine) Plugins API (Engine) Volume plugins (Engine) Engine: Security AppArmor security profiles for Docker (Engine) Automation with content trust (Engine) Content trust in Docker (Engine) Delegations for content trust (Engine) Deploying Notary (Engine) Docker security (Engine) Docker security non-events (Engine) Isolate containers with a user namespace (Engine) Manage keys for content trust (Engine) Play in a content trust sandbox (Engine) Protect the Docker daemon socket (Engine) Seccomp security profiles for Docker (Engine) Secure Engine Use trusted images Using certificates for repository client verification (Engine) Engine: Tutorials Engine tutorials Network containers (Engine) Get Started Part 1: Orientation Part 2: Containers Part 3: Services Part 4: Swarms Part 5: Stacks Part 6: Deploy your app Machine Amazon Web Services (Machine) Digital Ocean (Machine) docker-machine active docker-machine config docker-machine create docker-machine env docker-machine help docker-machine inspect docker-machine ip docker-machine kill docker-machine ls docker-machine provision docker-machine regenerate-certs docker-machine restart docker-machine rm docker-machine scp docker-machine ssh docker-machine start docker-machine status docker-machine stop docker-machine upgrade docker-machine url Driver options and operating system defaults (Machine) Drivers overview (Machine) Exoscale (Machine) Generic (Machine) Get started with a local VM (Machine) Google Compute Engine (Machine) IBM Softlayer (Machine) Install Machine Machine Machine CLI overview Machine command-line completion Machine concepts and help Machine overview Microsoft Azure (Machine) Microsoft Hyper-V (Machine) Migrate from Boot2Docker to Machine OpenStack (Machine) Oracle VirtualBox (Machine) Provision AWS EC2 instances (Machine) Provision Digital Ocean Droplets (Machine) Provision hosts in the cloud (Machine) Rackspace (Machine) VMware Fusion (Machine) VMware vCloud Air (Machine) VMware vSphere (Machine) Notary Client configuration (Notary) Common Server and signer configurations (Notary) Getting started with Notary Notary changelog Notary configuration files Running a Notary service Server configuration (Notary) Signer configuration (Notary) Understand the service architecture (Notary) Use the Notary client
characters

描述

初始化一個群

使用

docker swarm init [OPTIONS]

備選方案

名字,簡寫

默認(rèn)

描述

--advertise-addr


通告地址(格式:<ip | interface>:端口)

--autolock

啟用管理器自動鎖定(需要解鎖密鑰才能啟動停止的管理器)

--availability

active

節(jié)點(diǎn)的可用性(“活動”|“暫?!眧“漏”)

--cert-expiry

2160h0m0s

節(jié)點(diǎn)證書的有效期(ns | us | ms | s | m | h)

--data-path-addr


用于數(shù)據(jù)路徑流量的地址或接口(格式:<ip | interface>)

--dispatcher-heartbeat

5S

調(diào)度員心跳周期(ns | us | ms | s | m | h)

--external-ca


一個或多個證書簽名端點(diǎn)的規(guī)格

--force-new-cluster

強(qiáng)制從當(dāng)前狀態(tài)創(chuàng)建一個新的群集

--listen-addr

0.0.0.0:2377

監(jiān)聽地址(格式:<ip | interface>:端口)

--max-snapshots

0

要保留的附加木筏快照的數(shù)量

--snapshot-interval

10000

Raft快照之間的日志條目數(shù)

--task-history-limit

5

任務(wù)歷史保留限制

父命令

命令

描述

docker swarm

管理群

相關(guān)命令

命令

描述

docker 群

管理根CA

docker 群初始化

初始化一個群

docker 群加入

加入群體作為節(jié)點(diǎn)和/或經(jīng)理

docker 群聯(lián)合令牌

管理聯(lián)合令牌

docker 群離開

離開群

docker 群解鎖

解鎖群

docker 群解鎖鍵

管理解鎖密鑰

docker 群更新

更新群體

擴(kuò)展描述

初始化一群。此命令所針對的??恳鎸⒊蔀樾聞?chuàng)建的單節(jié)點(diǎn)群中的管理器。

實(shí)例

$ docker swarm init --advertise-addr 192.168.99.121Swarm initialized: current node (bvz81updecsj6wjz393c09vti) is now a manager.To add a worker to this swarm, run the following command:

    docker swarm join \    --token SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-1awxwuwd3z9j1z3puu7rcgdbx \    172.17.0.2:2377To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.

docker swarm init生成兩個隨機(jī)令牌,一個工作者令牌和一個經(jīng)理令牌。當(dāng)您將新節(jié)點(diǎn)加入到群中時,該節(jié)點(diǎn)將根據(jù)您傳遞給群集加入的令牌作為工作者或管理者節(jié)點(diǎn)加入。

創(chuàng)建群集之后,可以使用以下方法顯示或旋轉(zhuǎn)令牌群連接令牌...

--autolock

該標(biāo)志可以使用加密密鑰自動鎖定管理者。所有管理員存儲的私鑰和數(shù)據(jù)將受到輸出中打印的加密密鑰的保護(hù),如果沒有它,將無法訪問。因此,為了在重新啟動后激活管理器,存儲此密鑰非常重要。密鑰可以傳遞docker swarm unlock給重新激活管理器。自動鎖定可以通過運(yùn)行禁用docker swarm update --autolock=false。在禁用它之后,加密密鑰不再需要啟動管理器,并且它將在沒有用戶干預(yù)的情況下自行啟動。

--cert-expiry

此標(biāo)志設(shè)置節(jié)點(diǎn)證書的有效期。

--dispatcher-heartbeat

此標(biāo)志設(shè)置節(jié)點(diǎn)被告知作為周期報告其健康狀況的頻率。

--external-ca

此標(biāo)志設(shè)置群體使用外部CA頒發(fā)節(jié)點(diǎn)證書。該值采取的形式protocol=X,url=Y。值protocol指定應(yīng)使用什么協(xié)議將簽名請求發(fā)送到外部CA. 目前,唯一支持的值是cfssl。該URL指定了應(yīng)該提交簽名請求的端點(diǎn)。

--force-new-cluster

此標(biāo)志強(qiáng)制已丟失的仲裁的一部分的現(xiàn)有節(jié)點(diǎn)作為單個節(jié)點(diǎn)管理器重新啟動,而不會丟失其數(shù)據(jù)。

--listen-addr

該節(jié)點(diǎn)在此地址上偵聽入站群管理器流量。默認(rèn)是在0.0.0.0:2377上進(jìn)行監(jiān)聽。也可以指定一個網(wǎng)絡(luò)接口來偵聽該接口的地址; 例如--listen-addr eth0:2377。

指定端口是可選的。如果該值為裸IP地址或接口名稱,則將使用默認(rèn)端口2377。

--advertise-addr

該標(biāo)志指定將通告給群集的其他成員進(jìn)行API訪問和覆蓋網(wǎng)絡(luò)的地址。如果未指定,Docker將檢查系統(tǒng)是否具有單個IP地址,并將該IP地址與偵聽端口一起使用(請參閱參考資料--listen-addr)。如果系統(tǒng)有多個IP地址,則--advertise-addr必須指定該地址,以便為經(jīng)理間通信和覆蓋網(wǎng)絡(luò)選擇正確的地址。

也可以指定一個網(wǎng)絡(luò)接口來通告該接口的地址; 例如--advertise-addr eth0:2377

指定端口是可選的。如果該值為裸IP地址或接口名稱,則將使用默認(rèn)端口2377。

--data-path-addr

此標(biāo)志指定全局范圍網(wǎng)絡(luò)驅(qū)動程序?qū)⑾蚱渌?jié)點(diǎn)發(fā)布的地址,以便到達(dá)在此節(jié)點(diǎn)上運(yùn)行的容器。使用此參數(shù),就可以將容器的數(shù)據(jù)流量與集群的管理流量分開。如果未指定,Docker將使用與廣告地址相同的IP地址或接口。

--task-history-limit

此標(biāo)志設(shè)置任務(wù)歷史記錄保留限制。

--max-snapshots

除了當(dāng)前的Raft快照之外,該標(biāo)志還設(shè)置要保留的舊Raft快照的數(shù)量。默認(rèn)情況下,不保留舊的快照。該選項(xiàng)可用于調(diào)試,或用于存儲swarm狀態(tài)的舊快照以實(shí)現(xiàn)災(zāi)難恢復(fù)。

--snapshot-interval

該標(biāo)志指定在Raft快照之間允許的日志條目數(shù)量。將其設(shè)置為更高的數(shù)字將會減少快照次數(shù)??煺湛s小了Raft日志,并允許更高效地將狀態(tài)轉(zhuǎn)移給新管理人員。但是,經(jīng)常拍攝快照會帶來性能成本。

--availability

該標(biāo)志指定節(jié)點(diǎn)加入主設(shè)備時節(jié)點(diǎn)的可用性??赡艿目捎眯灾?code>active,pausedrain。

這個標(biāo)志在某些情況下很有用。例如,群集可能希望具有專用管理器節(jié)點(diǎn),這些節(jié)點(diǎn)不用作工作者節(jié)點(diǎn)。這可以通過傳遞--availability=drain來實(shí)現(xiàn)docker swarm init

Previous article: Next article: