亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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

  • 1:概況介紹

  • 2:集裝箱

  • 3:服務(wù)

  • 4:成群

  • 5:堆疊

  • 6:部署應(yīng)用程序

先決條件

  • 安裝Docker版本1.13或更高版本。

  • 按照第3部分的先決條件中所述獲取Docker撰寫(xiě)。

  • 按照第4部分的先決條件中所述獲取Docker機(jī)器。

  • 閱讀第1部分中的方向。

  • 學(xué)習(xí)如何在第2部分中創(chuàng)建容器。

  • 確保您已經(jīng)發(fā)布了friendlyhello你創(chuàng)造的形象將其推送到注冊(cè)表我們將在這里使用共享的圖像。

  • 確保你的圖像作為一個(gè)部署的容器。運(yùn)行此命令,在您的信息開(kāi)槽username,repotagdocker run -p 80:80 username/repo:tag,然后訪(fǎng)問(wèn)http://localhost/。

  • 有的最后版本docker-compose.yml來(lái)自第5部分手巧。導(dǎo)言在整個(gè)教程中,您一直在編輯相同的撰寫(xiě)文件。好吧,我們有好消息。組成文件在生產(chǎn)中和在您的機(jī)器上工作一樣好。這里,我們將介紹一些運(yùn)行您的Dockeralization應(yīng)用程序的選項(xiàng)。選擇一個(gè)選項(xiàng)

  • Docker CE(云提供商)

  • 企業(yè)(云提供商)

  • 企業(yè)(內(nèi)部部署)

如果您對(duì)在生產(chǎn)中使用Docker CommunityEdition表示滿(mǎn)意,可以使用DockerCloud幫助管理流行服務(wù)提供商(如AmazonWebServices、DigitalSea和MicrosoftAzure)上的應(yīng)用程序。

設(shè)置和部署:

  • 將DockerCloud與您的首選提供者連接起來(lái),授予DockerCloud權(quán)限,以便自動(dòng)提供和“Dockerize”VM。

  • 使用DockerCloud創(chuàng)建計(jì)算資源并創(chuàng)建群集。

  • 部署您的應(yīng)用程序。

::我們將在這里鏈接到DockerCloud文檔;確保在完成每個(gè)步驟后返回到此頁(yè)面。

連接碼頭云

您可以在標(biāo)準(zhǔn)模式或Swarm模式下運(yùn)行Docker Cloud 。

如果您正在以標(biāo)準(zhǔn)模式運(yùn)行DockerCloud,請(qǐng)按照下面的說(shuō)明將您的服務(wù)提供商鏈接到DockerCloud。

  • AmazonWeb服務(wù)安裝指南

  • 數(shù)字海洋設(shè)置指南

  • MicrosoftAzure安裝指南

  • 分組設(shè)置指南

  • 軟層安裝指南

  • 使用DockerCloud代理將您自己的主機(jī)

如果您在Swarm模式下運(yùn)行(建議用于Amazon Web Services或Microsoft Azure),請(qǐng)?zhí)料乱还?jié)有關(guān)如何創(chuàng)建群集的部分。

創(chuàng)造你的蜂群

準(zhǔn)備好創(chuàng)造一個(gè)群體了嗎?

  • 如果您使用亞馬遜網(wǎng)絡(luò)服務(wù)(AWS),則可以在AWS上自動(dòng)創(chuàng)建群集。

  • 如果您使用的是Microsoft Azure,則可以在Azure上自動(dòng)創(chuàng)建一個(gè)群集。

  • 否則,創(chuàng)建節(jié)點(diǎn)在泊塢云UI,運(yùn)行docker swarm initdocker swarm join命令,您在第4部分在了解到SSH通過(guò)泊塢云。最后,通過(guò)單擊屏幕頂部的切換開(kāi)啟Swarm模式,并注冊(cè)剛剛創(chuàng)建的swarm。注意:如果您使用Docker云代理自帶主機(jī),則此提供程序不支持群集模式。您可以使用Docker Cloud 注冊(cè)您自己的現(xiàn)有群集。部署您的應(yīng)用通過(guò)Docker Cloud連接到您的群集。在Docker for Mac或Docker for Windows(Edge版本)上,您可以直接通過(guò)桌面應(yīng)用程序菜單連接到您的群集無(wú)論哪種方式,這將打開(kāi)一個(gè)終端,其上下文是本地計(jì)算機(jī),但其Docker命令會(huì)路由到您的云服務(wù)提供商上運(yùn)行的群集。這與你一直遵循的范例有些不同,你通過(guò)SSH發(fā)送命令?,F(xiàn)在,您可以直接訪(fǎng)問(wèn)本地文件系統(tǒng)和遠(yuǎn)程群集,從而實(shí)現(xiàn)一些非常整潔的命令:docker stack deploy -c docker-compose.yml getstartedlab就是這樣!您的應(yīng)用程序正在生產(chǎn)中運(yùn)行,并由Docker Cloud進(jìn)行管理。Docker Enterprise Edition的客戶(hù)運(yùn)行一個(gè)穩(wěn)定的,商業(yè)支持的Docker Engine版本,作為附件,他們獲得了我們的一流管理軟件Docker Datacenter。您可以使用Universal Control Plane通過(guò)UI管理應(yīng)用程序的各個(gè)方面,運(yùn)行帶有Docker Trusted Registry的私有映像注冊(cè)表,瀏覽Docker Enterprise Edition壞消息是:擁有官方Docker Enterprise版本的唯一云提供商是Amazon Web Services和Microsoft Azure。好消息是:有一鍵模板可以快速在這些提供商中部署Docker Enterprise :

  • AWS碼頭企業(yè)

  • 船塢天青企業(yè)

注意:遇到這些問(wèn)題?查看我們的AWS設(shè)置指南。您還可以查看Microsoft Azure的WIP指南。

一旦你完成設(shè)置并且Datacenter正在運(yùn)行,你可以直接在UI中部署你的Compose文件。

二次

二次

在此之后,您將看到它正在運(yùn)行,并且可以更改您選擇的應(yīng)用程序的任何方面,甚至編輯撰寫(xiě)文件本身。

二次

客戶(hù)的碼頭企業(yè)版運(yùn)行一個(gè)穩(wěn)定的,商業(yè)支持版本的碼頭引擎,并作為一個(gè)附加-他們得到我們的一流管理軟件,碼頭數(shù)據(jù)中心。您可以使用通用控制平面通過(guò)UI管理應(yīng)用程序的各個(gè)方面,使用Docker可信注冊(cè)表運(yùn)行私有圖像注冊(cè)表,與LDAP提供程序集成,使用Docker ContentTrust簽署生產(chǎn)圖像,以及許多其他功能。

參觀碼頭企業(yè)版

將您自己的服務(wù)器帶到Docker Enterprise和設(shè)置Docker數(shù)據(jù)中心本質(zhì)上包括兩個(gè)步驟:

  1. 從Docker Store獲取您的服務(wù)器操作系統(tǒng)的Docker企業(yè)版。

  1. 按照說(shuō)明在您自己的主機(jī)上安裝Datacenter。

注意:運(yùn)行Windows容器?查看我們的Windows Server安裝指南。

一旦你完成設(shè)置并且Datacenter正在運(yùn)行,你可以直接在UI中部署你的Compose文件。

二次

二次

在此之后,您將看到它正在運(yùn)行,并且可以更改您選擇的應(yīng)用程序的任何方面,甚至編輯撰寫(xiě)文件本身。

二次

祝賀%21

您已經(jīng)對(duì)整個(gè)Docker平臺(tái)進(jìn)行了一次完整的堆棧式開(kāi)發(fā)部署。

Docker平臺(tái)的內(nèi)容遠(yuǎn)遠(yuǎn)不止這里介紹的內(nèi)容,但是您對(duì)容器、圖像、服務(wù)、成群、堆棧、縮放、負(fù)載平衡、卷和位置約束的基本知識(shí)有很好的了解。

想再深入一點(diǎn)嗎?以下是我們推薦的一些資源:

  • 樣本我們的示例包括在容器中運(yùn)行的流行軟件的多個(gè)示例,以及一些傳授最佳實(shí)踐的好實(shí)驗(yàn)室。

  • 用戶(hù)指南::用戶(hù)指南中有幾個(gè)示例,這些示例比本文所討論的更深入地解釋了網(wǎng)絡(luò)和存儲(chǔ)。

  • 行政指南介紹如何管理文檔化生產(chǎn)環(huán)境。

  • 培訓(xùn)提供面對(duì)面教學(xué)和虛擬課堂環(huán)境的正式碼頭課程。

  • 博客::報(bào)道碼頭最近發(fā)生的事。

Previous article: Next article: