I want to install custom programs on an ubuntu 14.04 image using docker and then upload the result to a repository online. Is there a guide somewhere that can point me to the right direction ?
答案 0 :(得分:0)
you create a Dockerfile that starts with ...
FROM ubuntu:14.04
# Other commands here e.g.
# RUN apt-get -y install apache2
CMD bash
THEN create an account on docker hub
THEN you can ...
docker build ... etc
to build your image
THEN to test it, create a container with ...
docker run ... etc
THEN finally, when happy with it ...
docker login
docker push ... etc
Once pushed, you can pull from any server with ...
docker login
docker pull
Obviously, you need docker installed on every server you are pulling from