Jump to content

Docker Service failed to start: panic: runtime error: index out of range


Recommended Posts

Rebooted system and all my dockers aren't working!

 

Have tried multiple reboots to see if it fixes itself...

 

Here's my docker.txt:

 

panic: runtime error: index out of range

goroutine 1 [running]:
github.com/docker/docker/vendor/github.com/docker/libnetwork.(*controller).reservePools(0xc0007d4e00)
	/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:955 +0xd80
github.com/docker/docker/vendor/github.com/docker/libnetwork.New(0xc0007d3100, 0x9, 0x10, 0xc000976240, 0xc000b841b0, 0xc0007d3100, 0x9)
	/go/src/github.com/docker/docker/vendor/github.com/docker/libnetwork/controller.go:244 +0x61b
github.com/docker/docker/daemon.(*Daemon).initNetworkController(0xc0009ec1e0, 0xc0008ac500, 0xc000b841b0, 0xc0009783c0, 0xc0009ec1e0, 0xc00073c928, 0xc000b841b0)
	/go/src/github.com/docker/docker/daemon/daemon_unix.go:857 +0xac
github.com/docker/docker/daemon.(*Daemon).restore(0xc0009ec1e0, 0xc00011d980, 0xc000479ce0)
	/go/src/github.com/docker/docker/daemon/daemon.go:459 +0x51a
github.com/docker/docker/daemon.NewDaemon(0x2e72800, 0xc00011d980, 0xc0008ac500, 0xc000976240, 0x0, 0x0, 0x0)
	/go/src/github.com/docker/docker/daemon/daemon.go:1049 +0x2ac8
main.(*DaemonCli).start(0xc000898870, 0xc0000e0c60, 0x0, 0x0)
	/go/src/github.com/docker/docker/cmd/dockerd/daemon.go:199 +0x7d3
main.runDaemon(...)
	/go/src/github.com/docker/docker/cmd/dockerd/docker_unix.go:13
main.newDaemonCommand.func1(0xc0008a8a00, 0xc000180600, 0x0, 0x8, 0x0, 0x0)
	/go/src/github.com/docker/docker/cmd/dockerd/docker.go:34 +0x7d
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc0008a8a00, 0xc00011e010, 0x8, 0x8, 0xc0008a8a00, 0xc00011e010)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:762 +0x467
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0008a8a00, 0x0, 0x0, 0x10)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:852 +0x2ee
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(...)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:800
main.main()
	/go/src/github.com/docker/docker/cmd/dockerd/docker.go:97 +0x191

And here's my diagnostics:

 

This is bad timing :(

fs-diagnostics-20200510-1514.zip

Edited by cinereus
Link to comment
1 hour ago, johnnie.black said:

Same if you boot in safe mode?

 

P.S. in the future please attach diags directly to the forum.

7 minutes ago, Squid said:

Try in safe mode.  You've got a crapload of packages installing via DevPack / NerdPack  including atop which will definitely cause trouble down the road by filling up the log

No dice. Have had zero issues with NerdPack so far.

fs-diagnostics-20200510-1611.zip

Edited by cinereus
Link to comment
8 hours ago, Squid said:

My  only suggestion would be to delete the docker image (settings - docker, stop service, delete the image), then restart the service and reinstall via Apps - Previous and see what happens.

Thanks. Thanks very helpful both of you :)

 

Good to know that's a reset that always works. As far as I can see it has preserved everything apart from my user defined networks and dockers using these.

 

Is there any clue why the error happened in the first place and how I can avoid it?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...