Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Error when building Docker image from demo #69

Open
xakep139 opened this issue Oct 10, 2017 · 1 comment
Open

Error when building Docker image from demo #69

xakep139 opened this issue Oct 10, 2017 · 1 comment

Comments

@xakep139
Copy link

Running docker build with Dockefile produces the following error:

Step 7/10 : RUN apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip
 ---> Running in bcc38dd5d269
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-tools-4.9.49-moby'
E: Unable to locate package linux-cloud-tools-4.9.49-moby
E: Couldn't find any package by regex 'linux-cloud-tools-4.9.49-moby'
The command '/bin/sh -c apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip' returned a non-zero code: 100
@xakep139 xakep139 changed the title Error when building Docker from demo Error when building Docker image from demo Oct 10, 2017
@jayd16
Copy link

jayd16 commented Dec 21, 2018

I see the same or at least a similar issue with the current version of Docker on Windows. I assume this means that linux tools for the linuxkit kernel are not in the default apt repos. Do these exist? The linux tools and perf binaries for linuxkit need to be built added to apt to get this DockerFile to work.

Ironically this means Docker for Windows isn't working but I assume that this script would work if I was running on an Ubuntu machine.

Step 7/10 : RUN apt-get -y install linux-tools-common linux-tools-`uname -r` linux-cloud-tools-`uname -r` lttng-tools lttng-modules-dkms liblttng-ust0 zip
 ---> Running in d585d91c6749
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-tools-4.9.125-linuxkit
E: Couldn't find any package by regex 'linux-tools-4.9.125-linuxkit'
E: Unable to locate package linux-cloud-tools-4.9.125-linuxkit
E: Couldn't find any package by regex 'linux-cloud-tools-4.9.125-linuxkit'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants