Docker

 

(16)
https://qiita.com/uutarou10/items/f9483aad5153957fc6dc


apt purge docker docker-engine docker.io
apt update
apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -


add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

apt update

apt install docker-ce

systemctl restart docker
systemctl status docker

docker run hello-world

 


(18)
https://qiita.com/myyasuda/items/cb8e076f4dba5c41afbc

apt purge docker docker-engine docker.io
apt update
apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -


add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"

apt update

apt install docker-ce


systemctl restart docker
systemctl status docker

docker run hello-world

 

(9)
https://qiita.com/tatsuya_info/items/f8cee0bae9ec28b560d0


apt purge docker docker-engine docker.io
apt update
apt install apt-transport-https ca-certificates curl software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -


add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"

apt update

apt install docker-ce

systemctl restart docker
systemctl status docker

docker run hello-world

 

(7)

https://qiita.com/inakadegaebal/items/be9fecce813cebec5986
https://docs.docker.com/install/linux/docker-ce/centos/


yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine \
docker-selinux \
docker-ce \
docker-ce-cli

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo


yum -y install docker-ce docker-ce-cli containerd.io
yum list docker-ce --showduplicates

systemctl restart docker
systemctl status docker
docker run hello-world

 

(2012R2)

https://forums.docker.com/t/windows-server-2012-r2/24267

未対応の模様

 

(2019)

Docker Desktop for Windows

https://github.com/docker/labs/blob/master/windows/windows-containers/README.md
https://it-study.info/nuget-install-fail/
https://usado.jp/spdsk/2018/12/11/4831/


PowerShellを管理者として実行

[Net.ServicePointManager]::SecurityProtocol
[enum]::GetNames([Net.SecurityProtocolType])
[Net.ServicePointManager]::SecurityProtocol = @([Net.SecurityProtocolType]::ssl3,[Net.SecurityProtocolType]::Tls,[Net.SecurityProtocolType]::Tls11,[Net.SecurityProtocolType]::Tls12)
[Net.ServicePointManager]::SecurityProtocol
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Get-PackageProvider


Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force

Restart-Computer
Start-Service docker
Get-Service docker
docker version

docker pull hello-world
docker images
docker run hello-world