Getting the error "operation is not supported" when trying to start something while creating a docker image

I am trying to create a docker image using the following command:

docker build -f conf/Dockerfile -t my_app_name . 

Dockerfile starts with:

 FROM ubuntu:14.04 COPY conf/pubkey pubkey RUN echo 'deb http://downloads.skewed.de/apt/trusty trusty universe' >> /etc/apt/sources.list \ && apt-key add pubkey \ && rm pubkey 

And it returns INFO[0000] operation not supported .

No matter what I put after RUN (even RUN echo 1 does not work)

I tried launching the shell in the docker run a7bb092… -it /bin/sh intermediate image ( docker run a7bb092… -it /bin/sh ), but it just throws FATA[0000] Error response from daemon: Cannot start container a7bb092…: operation not supported

How can i fix this?

+8
docker dockerfile
source share
2 answers

Well, it turns out that if your computer had a kernel update, but you haven't restarted it yet, then the dockers are ugly. Machine reboot fixed. Unfortunately.

+21
source share

This can happen if you do not have CONFIG_VETH selected in your kernel or without lxc and cgroup.

 $ zcat /proc/config.gz | grep VETH CONFIG_VETH=m 

https://github.com/docker/docker/issues/7246

+2
source share

All Articles