Skip to content

Instantly share code, notes, and snippets.

View klogic's full-sized avatar
☀️
Make today better than yesterday.

Narongsak Keawmanee klogic

☀️
Make today better than yesterday.
View GitHub Profile

Docker daemon runs in a separate VM, so in order to clear logs you should do the following steps:

First, you can find the log path inside the VM, with:

docker inspect --format='{{.LogPath}}' NAME|ID

You can connect to the VM with screen

Docker daemon runs in a separate VM, so in order to clear logs you should do the following steps:

First, you can find the log path inside the VM, with:

docker inspect --format='{{.LogPath}}' NAME|ID

You can connect to the VM with screen