Changes between Version 2 and Version 3 of Docker
- Timestamp:
- 07/16/2024 05:26:38 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docker
v2 v3 203 203 {{{#!bash 204 204 mkdir ubuntu-focal 205 cat << EOF ubuntu-focal/DockerFile205 cat << EOF > ubuntu-focal/DockerFile 206 206 # from base image ubuntu 20.04 207 207 FROM ubuntu:20.04 … … 228 228 USER $USER 229 229 WORKDIR /home/$USER 230 EOF 230 231 }}} 231 232 - use the 'docker build' command to build the OS image: