Fix typos and hub login link
|
@ -34,7 +34,7 @@
|
|||
<li><a href="https://docs.docker.com">Docs</a></li>
|
||||
<li><a href="https://docker.com/docker-community">Community</a></li>
|
||||
<li><a href="https://hub.docker.com/signup">Create Docker ID</a></li>
|
||||
<li><a href="https://hub.docker.com/login">Sign In</a></li>
|
||||
<li><a href="https://hub.docker.com/sso/start">Sign In</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--/.nav-collapse -->
|
||||
|
|
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 335 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 48 KiB |
|
@ -96,10 +96,7 @@ Start by [creating an account](https://hub.docker.com/signup).
|
|||
|
||||
To create a repo:
|
||||
1. Sign in to [Docker Hub](https://hub.docker.com)
|
||||
2. Click on Create Repository on the Docker Hub welcome page:
|
||||
|
||||

|
||||
|
||||
2. Click on Create Repository on the Docker Hub welcome page: 
|
||||
3. Name it **<your_username>/my-first-repo** as shown below. Select **Private**:
|
||||
|
||||

|
||||
|
@ -117,22 +114,18 @@ We'll need to download Docker Desktop to build and push a container image to Doc
|
|||
|
||||
### Step 4: Build and push a container image to Docker Hub from your computer
|
||||
|
||||
1. Create a Dockerfile to specify your application by running:
|
||||
|
||||
Start by creating a Dockerfile to specify your application as shown below. (More on Dockerfiles [here](https://docs.docker.com/engine/reference/builder/))
|
||||
```shell
|
||||
cat > Dockerfile <<EOF
|
||||
FROM busybox
|
||||
CMD echo "Hello world! This is my first Docker image."
|
||||
EOF
|
||||
```
|
||||
|
||||
More on Dockerfiles [here](https://docs.docker.com/engine/reference/builder/)
|
||||
|
||||
2. Run `docker build -t <your_username>/my-first-repo .` to build your Docker image
|
||||
3. Test your docker image locally by running `docker run <your_username>/my-first-repo`
|
||||
4. Run `docker push <your_username>/my-first-repo` to push your Docker image to Docker Hub
|
||||
|
||||
You should see something similar to:
|
||||
You should see output similar to:
|
||||
|
||||

|
||||
|
||||
|
@ -143,7 +136,7 @@ And in Docker Hub, your repository should have a new `latest` tag available unde
|
|||
Congratulations! You've successfully:
|
||||
- Signed up for Docker Hub
|
||||
- Created your first repository
|
||||
- Built a Docker image on your computer
|
||||
- Built a Docker container image on your computer
|
||||
- Pushed it to Docker Hub
|
||||
|
||||
### Next Steps
|
||||
|
|