Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrianblade/docker-images
https://github.com/adrianblade/docker-images
Last synced: about 9 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/adrianblade/docker-images
- Owner: adrianblade
- Created: 2019-07-11T20:58:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T17:47:16.000Z (about 2 years ago)
- Last Synced: 2024-11-11T05:43:00.607Z (about 2 months ago)
- Language: Groovy
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building an image
There are two steps for building an image. With the first one the image is created from a Dockerfile (file that contains instructions on how to build a docker image [https://docs.docker.com/engine/reference/builder/](https://docs.docker.com/engine/reference/builder/)).
```
#> docker build -t dockerHubURL/java:7 .
```The second step uploads the image to the [private docker registry](https://docs.docker.com/registry/) (server that contains docker images).
```
#> docker push dockerHubURL/java:7
```# Downloading an image
It is only necesary to build the image when there are changes on it. Normally you should only download the built image.
```
#> docker pull dockerHubURL.com/java:7
```