小编mmo*_*ssa的帖子

如何在我的 ubuntu 容器中安装 Docker?

我在ubuntu:18.04运行我的 nodejs 应用程序的容器中安装了 docker,我需要在这个容器中安装 docker,因为我需要对其他小应用程序进行 dockerize

她是我的 Dockerfile

FROM ubuntu:18.04

WORKDIR /app

COPY package*.json ./

# Install Nodejs
RUN apt-get update
RUN apt-get -y install curl wget dirmngr apt-transport-https lsb-release ca-certificates software-properties-common gnupg-agent
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get -y install nodejs

# Install Chromium
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -y google-chrome-unstable fonts-ipafont-gothic …
Run Code Online (Sandbox Code Playgroud)

ubuntu containers docker

3
推荐指数
1
解决办法
5087
查看次数

标签 统计

containers ×1

docker ×1

ubuntu ×1