官术网_书友最值得收藏!

Installing Docker CE by running convenience scripts

Another method of installing Docker is to use the convenience scripts provided by Docker. The scripts allow you to install either the latest edge version or the latest test version of Docker. It is not recommended that either of these is used in a production environment, however, they do serve a purpose for testing and developing the latest Docker versions. The scripts are somewhat limited in that they do not allow you to customize any options in the install. The same scripts can be used across a variety of Linux distributions as they determine the base distro you are running, and then do the install based on that determination. The process is simple. Use curl to pull down the desired script, and then use sudo to run the script. The commands to run the latest edge version are as follows.

Use the following command to install curl:

# install curl
sudo apt-get install curl

Now get the script and run the docker script to install:

# download and run the docker install script
curl -fsSL get.docker.com -o get-docker.sh

sudo sh get-docker.sh

Executing the script will result in output that looks like the following:

The docker group has been created for you by the script. The Docker service has been started, and the workstation has been configured to run Docker on boot. So, once again, you are ready to start using Docker.

We have examined the three ways to install Docker on your Ubuntu workstation, so now is a good time to discuss an additional step that is recommended for your post-installation setup.

主站蜘蛛池模板: 黔南| 惠安县| 青浦区| 庆安县| 托克逊县| 中牟县| 措美县| 长宁区| 萨嘎县| 临猗县| 来凤县| 全州县| 城固县| 巴林右旗| 沐川县| 改则县| 聂拉木县| 鄂伦春自治旗| 双流县| 卓尼县| 轮台县| 满洲里市| 曲阳县| 高雄市| 长春市| 桦南县| 高邮市| 定州市| 广宗县| 庆城县| 罗平县| 开远市| 长沙市| 肥乡县| 澄江县| 汾西县| 陆丰市| 汉沽区| 广南县| 宁蒗| 新郑市|