我正在尝试在基于ubuntu:14.04的docker容器中安装docker。
当我用docker daemon
启动守护进程时出现错误:
FATA [0000]无法连接到containerd。请确保您的PATH中已安装containerd,或者您已指定正确的地址。收到错误:写/ proc / 43 / oom_score_adj:权限被拒绝
我该如何解决这个问题?这里是我用来设置图像的dockerfile:
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates
# Adds the new GPG key
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
# add entry
RUN echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" >> /etc/apt/sources.list.d/docker.list
# update and purge the old repo if it exists
RUN apt-get update && apt-get purge lxc-docker
# Verify that APT is pulling from the right repository
RUN apt-cache policy docker-engine
# Install the recommended packages
RUN apt-get update && apt-get install -y linux-image-extra-virtual
# install docker
RUN apt-get install -y docker-engine