日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux下解包bin二进制文件_linux下如何使用docker二进制文件安装_docker离线安装

發布時間:2023/12/20 linux 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux下解包bin二进制文件_linux下如何使用docker二进制文件安装_docker离线安装 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1,下載二進制文件

https://download.docker.com/linux/static/stable/x86_64/docker-18.03.1-ce.tgz

2,解壓二進制文件

tar xzvf docker-18.03.1-ce.tgz

3,復制二進制文件到/usr/bin目錄下

cp docker/* /usr/bin/

4,檢查是否安裝

docker version

Client:

Version:? ? ? 18.03.1-ce

API version:? 1.37

Go version:? ?go1.9.2

Git commit:? ?9ee9f40

Built:? ? ? ? Thu Apr 26 07:12:25 2018

OS/Arch:? ? ? linux/amd64

Experimental: false

Orchestrator: swarm

Server:

Engine:

Version:? ? ? 18.03.1-ce

API version:? 1.37 (minimum version 1.12)

Go version:? ?go1.9.5

Git commit:? ?9ee9f40

Built:? ? ? ? Thu Apr 26 07:23:03 2018

OS/Arch:? ? ? linux/amd64

Experimental: false

5,配置 docker.service文件

vi /usr/lib/systemd/system/docker.service

[Unit]

Description=Docker Application Container Engine

Documentation=https://docs.docker.com

After=network-online.target firewalld.service

Wants=network-online.target

[Service]

Type=notify

ExecStart=/usr/bin/dockerd

ExecReload=/bin/kill -s HUP $MAINPID

LimitNOFILE=infinity

LimitNPROC=infinity

TimeoutStartSec=0

Delegate=yes

KillMode=process

Restart=on-failure

StartLimitBurst=3

StartLimitInterval=60s

[Install]

WantedBy=multi-user.target

6,啟動dockerd服務進程

systemctl daemon-reload

systemctl start docker.service

7,檢驗

# ps aux|grep docker

root 2262 0.1 4.4 472948 44944 ? Ssl 16:38 0:00 /usr/bin/dockerd

root 2266 0.2 1.3 277032 13540 ? Ssl 16:38 0:01 docker-containerd --config /var/run/docker/containerd/containerd.toml

root 2895 0.0 0.0 112660 972 pts/0 S+ 16:48 0:00 grep --color=auto docker

# docker run hello-world

Hello from Docker!

This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:

1. The Docker client contacted the Docker daemon.

2. The Docker daemon pulled the "hello-world" image from the Docker Hub.

(amd64)

3. The Docker daemon created a new container from that image which runs the

executable that produces the output you are currently reading.

4. The Docker daemon streamed that output to the Docker client, which sent it

to your terminal.

To try something more ambitious, you can run an Ubuntu container with:

$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:

https://hub.docker.com/

For more examples and ideas, visit:

https://docs.docker.com/engine/userguide/

創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎

總結

以上是生活随笔為你收集整理的linux下解包bin二进制文件_linux下如何使用docker二进制文件安装_docker离线安装的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。