--docker pull [imege name] --Image (blueprint) is dropped --docker build -t [image name] [file location] --Image creation --You can specify the image name with -t --docker create -it [imege name] --Container generation --- You can operate the inside of the container from the terminal with it --docker start [container identifier] --Container startup --docker stop [container identifier] --Container stop --docker rm [container identifier] --Container deletion -☆ docker run [image name] --Includes pull create start --- Run in the background with -d --- p 80: If you add 80, if you get local host access at 80, pass the container at 80 ---- name Name with OO --Specify version with ruby: 2.5 etc.
Recommended Posts