corefx-tools icon indicating copy to clipboard operation
corefx-tools copied to clipboard

Error when building Docker image from demo

Open xakep139 opened this issue 8 years ago • 1 comments

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 avatar Oct 10 '17 03:10 xakep139

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'

jayd16 avatar Dec 21 '18 18:12 jayd16