Linux系统环境基于Docker搭建系统基础镜像
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 制作系统基础环境镜像 [x] 基于Ubuntu制作镜像资源 >⚠️[注意事项]:由于拉取的Docker hub 的大多数镜像都没有安装Vim ss 等等资源,而且大部分镜像资源是官方镜像库更新资源后安装极其不方便,因此自己构建一个通用镜像尤为重要。 基于Ubuntu制作镜像资源 1.在宿主机创建文件目录:/docker/ubuntu/environment mkdir -p /docker/ubuntu/environment 2.安装的资源如下: java shh 等 vim psmisc rsync supervisor netcat 3.替换阿里云的镜像资源 bionic版本: deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http