macOS
- Open Docker Desktop.
- Go to Settings.
- Go to Docker Engine.
- Add the following line to the JSON configuration:
- Click Apply & Restart.
Linux
- Edit the Docker configuration file (usually
/etc/docker/daemon.json). Create it if it doesn’t exist, and add:
- Restart Docker:
Windows
- Open Docker Desktop.
- Go to Settings.
- Go to Docker Engine.
- Add the following line to the JSON configuration:
- Click Apply & Restart.