Skip to content

Commit

Permalink
update share image
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
  • Loading branch information
craig-osterhout committed Mar 12, 2024
1 parent 08a77a9 commit cb060f0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions content/guides/use-case/tensorflowjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Face detection with TensorFlow.js
---

This guide introduces the seamless integration of TensorFlow.js with Docker to
perform face detection. In this guide, you'll explore:
perform face detection. In this guide, you'll explore how to:

- Run a containerized TensorFlow.js application using Docker.
- Implement face detection in a web application with TensorFlow.js.
Expand Down Expand Up @@ -493,12 +493,14 @@ developer ecosystem. To share your image:

1. [Sign up](https://www.docker.com/pricing?utm_source=docker&utm_medium=webreferral&utm_campaign=docs_driven_upgrade) or sign in to [Docker Hub](https://hub.docker.com).

2. Rename your image so that Docker knows which repository to push it to. Open a
terminal and run the following `docker tag` command. Replace `YOUR-USER-NAME`
with your Docker ID.
2. Rebuild your image to include the changes to your application. This time,
prefix the name with your Docker ID. Docker uses the name to determine which
repository to push it to . Open a terminal and run the following command in
the `TensorJS-Face-Detection` directory. Replace `YOUR-USER-NAME` with your
Docker ID.

```console
$ docker tag face-detection-tensorjs YOUR-USER-NAME/face-detection-tensorjs
$ docker build -t YOUR-USER-NAME/face-detection-tensorjs .
```

3. Run the following `docker push` command to push the image to Docker Hub.
Expand Down

0 comments on commit cb060f0

Please sign in to comment.