diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-10 21:58:18 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-10 21:58:18 -0600 |
| commit | 7600361e972101e7ddb8cf3bf050cce77c7b42b1 (patch) | |
| tree | a99057140015e07a2ddbcf20fb669826b0a8549a | |
| parent | 44f8e92711d09b10309f0fd1ccf65ee6fe411a05 (diff) | |
Remove grep -v
| -rw-r--r-- | README.md | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -166,14 +166,13 @@ docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Status}}" # $ docker run -it alpine:latest cat /etc/os-release -```terminal32 -docker run -it alpine:latest cat /etc/os-release -``` - 1. check if "alpine:latest" is on docker host 1. download "alpine:latest" from registry to docker host 1. start a container using the "alpine:latest" image +```terminal32 +docker run -it alpine:latest cat /etc/os-release +``` # Dockerfile @@ -308,7 +307,7 @@ time docker build -t big-image:latest examples/002/ # docker image ls ```terminal32 -docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}\t{{.Size}}" | grep -v gitlab +docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}\t{{.Size}}" ``` # dive big-image:latest |
