bash
82 Bytes
Dockerfile
Most projects will have a Dockerfile which contains a docker image "recipe", a list of instructions on how to build a docker image.
These docker images are mostly used to run the tests.
If you make any changes to the Dockerfile, you'll need to recompile it and push it up to the Docker Registry (which, at the moment, is located at 10.10.0.14:5000 )
docker build -t 10.10.0.14:5000/imagename .
and then push:
docker push 10.10.0.14:5000/imagename
Later on, if you ever need to use the image in your build process, you can reference to it via the same name, e.x. 10.10.0.14:5000/imagename
Please
register
or
sign in
to comment