Skip to content

Commit aaa2a15

Browse files
committed
Add tab for docker config
1 parent 78b33f6 commit aaa2a15

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/iot-edge/includes/iot-edge-install-linux.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,21 @@ By default, the container engine doesn't set container log size limits. Over tim
126126

127127
The following steps show you how to configure your container to use [`local` logging driver](https://docs.docker.com/config/containers/logging/local/) as the logging mechanism.
128128

129-
1. Create (if the file's not there already) or open the Docker [daemon's config file](https://docs.docker.com/config/daemon/) at `/etc/docker/daemon.json`. If you're using a snap, the file is located at `/var/snap/docker/current/config/daemon.json`.
129+
1. Create or edit the existing Docker [daemon's config file](https://docs.docker.com/config/daemon/)
130+
131+
# [Ubuntu / Debian / RHEL](#tab/ubuntu+debian+rhel)
132+
133+
```bash
134+
sudo nano /etc/docker/daemon.json
135+
```
136+
137+
# [Ubuntu Core snaps](#tab/snaps)
138+
139+
```bash
140+
sudo nano /var/snap/docker/current/config/daemon.json
141+
```
142+
143+
---
130144
131145
1. Set the default logging driver to the `local` logging driver as shown in the example.
132146

0 commit comments

Comments
 (0)