From 1de2af7739d415c51d052f12803bec1b9faa72f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Fri, 5 Mar 2021 18:49:37 +1300 Subject: [PATCH] Remove the need to tag after pull --- docker/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker/README.md b/docker/README.md index d6a3697..9839f7d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -18,7 +18,6 @@ The first option is to pull the image from Docker Hub (this will download over 2 ```bash $ docker pull ageron/handson-ml2 -$ docker tag ageron/handson-ml2 handson-ml2 ``` Alternatively, you can build the image yourself. This will be slower, but it will ensure the image is up to date, with the latest libraries. For this, assuming you already downloaded this project into the directory `/path/to/project/handson-ml2`: @@ -80,7 +79,6 @@ If you want to pull the prebuilt image from Docker Hub (this will download over ```bash $ docker pull ageron/handson-ml2:latest-gpu -$ docker tag ageron/handson-ml2:latest-gpu handson-ml2 ``` If you prefer to build the image yourself, edit `docker-compose.yml`, replace the line `dockerfile: ./docker/Dockerfile` with `dockerfile: ./docker/Dockerfile.gpu`, and then run the following commands (assuming this project is located at `/path/to/project/handson-ml2`):