ablog

不器用で落着きのない技術者のメモ

Amazon Linux 2 で Docker を動かす

Amazon Linux 2 でとりま、Docker を動かす。

# docker pull bash
# docker run -it bash:4.4
# docker ps
CONTAINER ID   IMAGE      COMMAND                  CREATED         STATUS         PORTS     NAMES
a0c812f10e1d   bash:4.4   "docker-entrypoint.s…"   4 seconds ago   Up 3 seconds             sad_black
# docker attach sad_black