This repository was archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 230
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
"Bin docker is not in your path" when using --runtime=containerd #476
Copy link
Copy link
Closed
Labels
area/runtimeIssues related to container runtimesIssues related to container runtimeskind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Description
@sbernheim ran into this bug with a Chromebook running Linux
(GalliumOS/xubuntu amd64)
He reports that we only had containerd installed.
This makes sense and should work without producing this error during ignite run
:
INFO[0002] Created VM with ID "57f96e13460eb5df" and name "my-vm"
FATA[0002] [ERROR ]: Bin docker is not in your PATH
We may have missed this since we're always developing and testing on machines with both runtimes.
Full trace:
# ignite version
Ignite version: version.Info{Major:"0", Minor:"6", GitVersion:"v0.6.2", GitCommit:"8222585fa9e5e72b0b44d007c3ea179d0066c03d", GitTreeState:"clean", BuildDate:"2019-10-08T03:53:06Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Firecracker version: v0.18.0
Runtime: containerd
# ignite run --runtime containerd --log-level trace --config my-vm.yaml
TRAC[0000] Populating providers...
TRAC[0000] Initializing the containerd runtime provider...
TRAC[0000] Initializing the CNI provider...
DEBU[0000] Ensuring image weaveworks/ignite-ubuntu:latest exists, or importing it...
TRAC[0000] Client.Find; GVK: ignite.weave.works/__internal, Kind=Image
TRAC[0000] index: counted 0 Image object(s)
TRAC[0000] cache: miss when listing: ignite.weave.works/__internal, Kind=Image
TRAC[0000] cache: Get Image with UID "1d9a607b2184e0ed"
TRAC[0000] index: cache miss for Image with UID "1d9a607b2184e0ed"
TRAC[0000] index: storing Image object with UID "weaveworks/ignite-ubuntu:latest", meta: false
DEBU[0000] Found image with UID 1d9a607b2184e0ed
DEBU[0000] Ensuring kernel weaveworks/ignite-kernel:4.19.47 exists, or importing it...
TRAC[0000] Client.Find; GVK: ignite.weave.works/__internal, Kind=Kernel
TRAC[0000] index: counted 0 Kernel object(s)
TRAC[0000] cache: miss when listing: ignite.weave.works/__internal, Kind=Kernel
TRAC[0000] cache: Get Kernel with UID "4d87e839eb5f09ed"
TRAC[0000] index: cache miss for Kernel with UID "4d87e839eb5f09ed"
TRAC[0000] index: storing Kernel object with UID "weaveworks/ignite-kernel:4.19.47", meta: false
DEBU[0000] Found kernel with UID 4d87e839eb5f09ed
TRAC[0000] index: counted 0 VM object(s)
TRAC[0000] cache: miss when listing: ignite.weave.works/__internal, Kind=VM
TRAC[0000] index: counted 0 VM object(s)
TRAC[0000] cache: miss when listing: ignite.weave.works/__internal, Kind=VM
TRAC[0000] Client.Set; UID: "57f96e13460eb5df", GVK: ignite.weave.works/__internal, Kind=VM
TRAC[0000] cache: Set VM with UID "57f96e13460eb5df"
TRAC[0000] index: storing VM object with UID "my-vm", meta: false
TRAC[0000] Client.Find; GVK: ignite.weave.works/__internal, Kind=Image
TRAC[0000] index: counted 1 Image object(s)
TRAC[0000] cache: hit when listing: ignite.weave.works/__internal, Kind=Image
TRAC[0000] index: listing ignite.weave.works/__internal, Kind=Image objects, meta: true
TRAC[0000] cacheObject: "weaveworks/ignite-ubuntu:latest" checksum: "1570727891432058185"
TRAC[0000] cache: Get Image with UID "1d9a607b2184e0ed"
TRAC[0000] index: cache hit for Image with UID "1d9a607b2184e0ed"
TRAC[0000] cacheObject: "weaveworks/ignite-ubuntu:latest" checksum: "1570727891432058185"
TRAC[0000] Client.Find; GVK: ignite.weave.works/__internal, Kind=Image
TRAC[0000] index: counted 1 Image object(s)
TRAC[0000] cache: hit when listing: ignite.weave.works/__internal, Kind=Image
TRAC[0000] index: listing ignite.weave.works/__internal, Kind=Image objects, meta: true
TRAC[0000] cacheObject: "weaveworks/ignite-ubuntu:latest" checksum: "1570727891432058185"
TRAC[0000] cache: Get Image with UID "1d9a607b2184e0ed"
TRAC[0000] index: cache hit for Image with UID "1d9a607b2184e0ed"
TRAC[0000] cacheObject: "weaveworks/ignite-ubuntu:latest" checksum: "1570727891432058185"
TRAC[0000] Client.Find; GVK: ignite.weave.works/__internal, Kind=Kernel
TRAC[0000] index: counted 1 Kernel object(s)
TRAC[0000] cache: hit when listing: ignite.weave.works/__internal, Kind=Kernel
TRAC[0000] index: listing ignite.weave.works/__internal, Kind=Kernel objects, meta: true
TRAC[0000] cacheObject: "weaveworks/ignite-kernel:4.19.47" checksum: "1570729004007891923"
TRAC[0000] cache: Get Kernel with UID "4d87e839eb5f09ed"
TRAC[0000] index: cache hit for Kernel with UID "4d87e839eb5f09ed"
TRAC[0000] cacheObject: "weaveworks/ignite-kernel:4.19.47" checksum: "1570729004007891923"
INFO[0002] Created VM with ID "57f96e13460eb5df" and name "my-vm"
FATA[0002] [ERROR ]: Bin docker is not in your PATH
Metadata
Metadata
Assignees
Labels
area/runtimeIssues related to container runtimesIssues related to container runtimeskind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.