mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-26 03:29:02 +00:00
docs: Update docker installation guides for /etc/docker
Added explanation that the `/etc/docker/` directory needs to be created. Fixes: #569. Signed-off-by: shinebayar-g <shinebayar.gansukh@gmail.com>
This commit is contained in:
parent
4a65bad291
commit
a0e37e1e64
@ -37,18 +37,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
@ -50,6 +50,12 @@ b. systemd (this is the default and is applied automatically if you select the
|
|||||||
|
|
||||||
c. Docker `daemon.json`
|
c. Docker `daemon.json`
|
||||||
|
|
||||||
|
Create docker configuration folder.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo mkdir -p /etc/docker
|
||||||
|
```
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
@ -39,18 +39,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
@ -37,18 +37,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
@ -38,18 +38,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
@ -36,18 +36,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
@ -41,18 +41,24 @@
|
|||||||
|
|
||||||
2. Docker `daemon.json`
|
2. Docker `daemon.json`
|
||||||
|
|
||||||
Add the following definitions to `/etc/docker/daemon.json`:
|
Create docker configuration folder.
|
||||||
|
|
||||||
```json
|
```
|
||||||
{
|
$ sudo mkdir -p /etc/docker
|
||||||
"default-runtime": "kata-runtime",
|
```
|
||||||
"runtimes": {
|
|
||||||
"kata-runtime": {
|
Add the following definitions to `/etc/docker/daemon.json`:
|
||||||
"path": "/usr/bin/kata-runtime"
|
|
||||||
}
|
```json
|
||||||
}
|
{
|
||||||
}
|
"default-runtime": "kata-runtime",
|
||||||
```
|
"runtimes": {
|
||||||
|
"kata-runtime": {
|
||||||
|
"path": "/usr/bin/kata-runtime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
3. Restart the Docker systemd service with the following commands:
|
3. Restart the Docker systemd service with the following commands:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user