コンテンツにスキップ

Docker

出典: フリー百科事典『ウィキペディア(Wikipedia)』
Docker
作者 Solomon Hykes
開発元 Docker, Inc.
初版 2013年3月13日 (2013-03-13)
最新版 26.1.4[1] ウィキデータを編集 - 2024年6月5日 (4日前)
リポジトリ ウィキデータを編集
プログラミング
言語
Go言語
対応OS Linux, macOS, Windows
プラットフォーム x86-64
種別 仮想化
ライセンス Free/Paid [2][3]
公式サイト www.docker.com
テンプレートを表示

Docker[4][5]

DockerOS[6]Docker[7]

[]




OSOSOSOS

DockerDockerDockerDockerLinuxWindowsMacDockerDockerDocker/DockerDocker

Docker/CICD調Docker

[]

[]


 (OS) Hyper-VVirtualBox[8][]OS(resource)

DockerOS[9]Docker[9]

[]


Docker[10]DockerBuild, Ship, and Run Any App, Anywhere [11]Docker DesktopWindowsMacOS[12]

[]


Docker

[]

[]


DockerDeveloping inside a Container [13]

Dockerdevelopment container[14]



DockerOSWindowsLinux[15]



: 

volume: volume

-: UI

Dockervolume-Docker

[]


Dockercontainerized application[16], Container Deployed Applications[17]

Docker: Open Container Initiative#OCI Image)DockerDockerDocker

DockerDocker

[]


Docker/

DockerOSInfrastructure as CodeIaC//Immutable Infrastructure[18]CICDDockerDocker/調DockerDocker

DockerIT201412BPITAWARD 2015[19]

2014GoogleDockerKubernetes20[20]

[]

[]


Go libcontainer DockerLXC

[]


overlay2[21]AufsDockerDocker () [10]/aufsbtrfsDevice MapperOverlayFSvfsZFS

Dockerfile[]


DockerDockerfile

DockerDocker imageimageJSON.tarc.f. OCI Image) DockerDockerfilebuild

[]


DockerOpen Container InitiativeOCI RuntimeOCI Image FormatDockerOCIOCIOCI Runtime

[]


Docker

Volumes: Docker[22][23]

Bind mounts: [24]Docker[25]

tmpfs mounts: [26]

[]


Docker

DockerLinuxnone調Docker

bridgebridgeIP (automatic service discovery) [27]--alias 1[28]DNS

[]


DockerCompose (docker-compose) [29]docker-compose.yml [30]Docker Swarm[31]

[]


Docker/Docker Deamonstdout/stderrdocker logs [32]logging driverlogging driver plugins[33]logging driverjson-filesyslogfluentdawslogsgcplogs

fluentdlogging driverFluentd[34]TCPlocalhost:24224TCPUNIX[35]fluentd[36]

[]

Linux[]


Docker

DockerLinuxUbuntuLinuxLinuxUbuntu 18.04.4LTSv5.3[37]Debian 10v4.19[38]DockerUbuntu 18.04LTSv5.3Debian10Dockerv4.19Dockerkernel v4.19



OSDockerOSUbuntuDebianDebian 8Debian 9

LinuxLinuxUbuntu 18.04.4LTSv5.3Debian 10Kernel v4.19Debian10Linux

Docker [27][28][29] 

[]

[]


調[39] () KubernetesDocker Swarm

Docker20181KubernetesDocker[40]

[]


Docker Imagedocker pullDockerfiledocker pullURL-likeURL:quay.io/assemblyline/ubuntu[41]

Docker Hub[]


Docker Hubdocker pull2014Docker[42]DockerHub[organization/]image:tag: fluent/fluentdubuntu

Amazon Elastic Container Registry[]


Amazon ECRAmazon Web Services[43]docker login<aws_account_id>.dkr.ecr.<region>.amazonaws.com

[]


DockerCLIGUI

Docker Engine : -[44]
server:  [45]

OCI

REST API: [46]

CLI client: CLI[47]Docker REST API[48]

registry: Docker[49]

Docker使

Docker Engine: docker-ce(Linux), Docker Desktop (Windows, MacOS)
server/deamon: dockerd[45]
runtime: containerd[50]
OCI runtime: runc

cli client: docker[47]

registry: Docker Hub[51]

Docker2013Docker[52]Docker

Docker

OCI runtime
OCIc.f. Open Container Initiative § OCI Runtime

registry
Docker Trusted Registry: [53]

dockerCLIdockerdcontainerd

関連項目[編集]

参照[編集]



(一)^ "v26.1.4"; : 202466; : 202465.

(二)^ Docker FAQs. 20211123

(三)^ Docker Software End User License Agreement. 20211123

(四)^ IT e-Words. 201813

(五)^ Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. Docker Documentations - Docker overview

(六)^ Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. Docker Documentations - Docker overview

(七)^ By taking advantage of Dockers methodologies for shipping, testing, and deploying code quickly, you can significantly reduce the delay between writing code and running it in production. Docker Documentations - Docker overview

(八)^ 1 Docker. 201813

(九)^ abDocker. 201813

(十)^ abDocker8. 201813

(11)^ Docker. 201813

(12)^ Docker使TOPPERS/FMP on RaspberryPi with Macintosh5. 2018211

(13)^ Docker container as a full-featured development environment. [1]

(14)^ This container can be used to run an application or to sandbox tools, libraries, or runtimes needed for working with a codebase. [2]

(15)^ Docker Containers Are Everywhere: Linux, Windows, Data center, Cloud, Serverless, etc. [3]

(16)^ Deploying a containerized web application [4]

(17)^ Container Deployed Applications: You deploy your application into one or more containers and would like to work locally in the containerized environment. [5]

(18)^  (2014516). Docker1Docker.  ITmedia. 20161222

(19)^ ITAWARD 2015.  BP. 201713

(20)^ Google20. 201713

(21)^ overlay2 is the preferred storage driver, for all currently supported Linux distributions, and requires no extra configuration. [6]

(22)^ Volumes are stored in a part of the host filesystem which is managed by Docker [7]

(23)^ Volumes are the best way to persist data in Docker. [8]

(24)^ Bind mounts may be stored anywhere on the host system. [9]

(25)^ Non-Docker processes on the Docker host or a Docker container can modify them at any time. [10]

(26)^ tmpfs mounts are stored in the host systems memory only, and are never written to the host systems filesystem. [11]

(27)^ containers can not only communicate by IP address, but can also resolve a container name to an IP address. This capability is called automatic service discovery. [12]

(28)^ Create a network alias for a container [13]

(29)^ Compose is a tool for defining and running multi-container Docker applications. docker docs - Overview of Docker Compose

(30)^ Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment. docker docs - Overview of Docker Compose

(31)^ Docker Swarm, a Docker-native clustering system, exposes the same API as a single Docker host, which means you can use Compose against a Swarm instance and run your apps across multiple hosts. [14]

(32)^ By default, docker logs shows the commands STDOUT and STDERR. docker docs

(33)^ Each Docker daemon has a default logging driver, which each container uses unless you configure it to use a different logging driver. In addition to using the logging drivers included with Docker, you can also implement and use logging driver plugins. docker docs

(34)^ The fluentd logging driver sends container logs to the Fluentd collector as structured log data. docker docs

(35)^ By default, the logging driver connects to localhost:24224. Supply the fluentd-address option to connect to a different address. tcp(default) and unix sockets are supported. docker docs

(36)^ To use this logging driver, start the fluentd daemon on a host. We recommend that you use the Fluentd docker image. docker docs

(37)^ Ubuntu 18.04.4 ships with a v5.3 based Linux kernel [15]

(38)^ Linux kernel 4.19 series [16]

(39)^ Kubernetes. 201813

(40)^ KubernetesDockerDocker for Mac with Kubernetes. 2018111

(41)^ By default, docker pull pulls images from Docker Hub. It is also possible to manually specify the path of a registry to pull from. docker docs

(42)^ DockerDocker Hub使. 201813

(43)^ Amazon Elastic Container Registry (ECR)  Docker  Amazon Elastic Container Registry

(44)^ Docker Engine is a client-server application with these major components: [17]

(45)^ abA server which is a type of long-running program called a daemon process (the dockerd command). [18]

(46)^ A REST API which specifies interfaces that programs can use to talk to the daemon and instruct it what to do. [19]

(47)^ abA command line interface (CLI) client (the docker command). [20]

(48)^ The CLI uses the Docker REST API to control or interact with the Docker daemon through scripting or direct CLI commands. [21]

(49)^ A Docker registry stores Docker images. [22]

(50)^ By default, the Docker daemon automatically starts containerd. [23]

(51)^ Docker Hub is a public registry that anyone can use, and Docker is configured to look for images on Docker Hub by default. [24]

(52)^ Docker is an open platform for developing, shipping, and running applications. [25]

(53)^ Docker Trusted Registry (DTR) is the enterprise-grade image storage solution from Docker.[26]

[]


WINGS Docker 2 &ISBN 978-4798153223 (2018411

Docker/Kubernetes ISBN 978-4297100339 (2018825

KubernetesISBN 978-42950048062018921

KubernetesAzure2019123

Docker 2ISBN 978-42950055202019218

KubernetesISBN 978-42950066332019712

[]




docker-ce - GitHub

Docker Hub