-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstalldocker.json
33 lines (33 loc) · 1.13 KB
/
installdocker.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"run": [
{
"method": "shell.run",
"params": {
"message": {
"default": "docker --version",
"windows": "docker --version",
"mac": "docker --version",
"linux": "docker --version"
},
"path": "./"
}
},
{
"method": "shell.run",
"params": {
"message": {
"default": "sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io",
"linux": "sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io"
},
"path": "./"
}
},
{
"method": "notify",
"params": {
"html": "Docker isn't installed. Please <a href='https://www.docker.com/products/docker-desktop'>download and install Docker Desktop</a> to proceed.",
"href": "https://www.docker.com/products/docker-desktop"
}
}
]
}