mirror of https://github.com/01-edu/public.git
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.
15 lines
479 B
15 lines
479 B
![]()
5 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Install Docker
|
||
|
|
||
|
script_dir="$(cd -P "$(dirname "$BASH_SOURCE")" && pwd)"
|
||
|
cd $script_dir
|
||
|
. set.sh
|
||
|
|
||
|
apt-get -y install apt-transport-https ca-certificates curl gnupg-agent 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 disco stable"
|
||
|
apt-get update
|
||
|
apt-get -y install docker-ce docker-ce-cli containerd.io
|
||
|
adduser student docker
|