How to set environment of docker




Docker has two different versions.
CE and EE.
Please refer here.
https://docs.docker.com/install/

1. Download your OS image

We can download CE version for free learning.
https://docs.docker.com/docker-for-mac/install/



2. Install base-completions
https://docs.docker.com/compose/completion/#available-completions

# be careful !! if you use Oh-my-Zsh + iTerm2 + zsh
you have to edit the config file

vim ~/.zshrc
plugins=(
  git
  docker
)

3. Start to use Docker

https://docs.docker.com/get-started/


留言