Skip to content

Commit

Permalink
Merge pull request #16149 from maxbrunet/fix/cri-docker-system-logs
Browse files Browse the repository at this point in the history
cruntime/docker: Include system logs from cri-docker
  • Loading branch information
spowelljr authored Mar 27, 2023
2 parents 9e876fe + 120e1bc commit 764c5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/cruntime/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func (r *Docker) ContainerLogCmd(id string, len int, follow bool) string {

// SystemLogCmd returns the command to retrieve system logs
func (r *Docker) SystemLogCmd(len int) string {
return fmt.Sprintf("sudo journalctl -u docker -n %d", len)
return fmt.Sprintf("sudo journalctl -u docker -u cri-docker -n %d", len)
}

// setCGroup configures the docker daemon to use driver as cgroup manager
Expand Down

0 comments on commit 764c5c3

Please # to comment.