You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
569 B
13 lines
569 B
#!/bin/bash |
|
echo '---------------------------' |
|
echo -e '\033[42m[Version]:AutoInstallDocker Beta0.1\033[0m' |
|
echo -e '\033[34m[Info]\033[0m:\033[34mStart Configuration...\033[0m' |
|
time0=$(date "+%Y-%m-%d %H:%M:%S") |
|
#aliyun mirror |
|
echo "[$time0]: Install Docker..." >> ./openDocker.log |
|
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun |
|
time0=$(date "+%Y-%m-%d %H:%M:%S") |
|
echo "[$time0]: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun" >> ./openDocker.log |
|
echo -e '\033[42m[Result]:Successful\033[0m' |
|
bash ./openDockerRemoteService.sh |
|
|
|
|