Florian Chevalier
Florian Chevalier

Reputation: 1

How can i install my package automatically on docker container

I have to create three container and i have to installed package automatically on this container? How can i do that?

I need save docker file.

Thanks for help by advance.

Upvotes: 0

Views: 615

Answers (1)

Larry Cai
Larry Cai

Reputation: 60123

Basic knowledge

So, read official guideline https://docs.docker.com/reference/builder/ and write your own Dockerfile to automate your installation of your packages in your container.

Reuse existing docker images

docker is built on community as well, before you write your Dockerfile, you may check the http://hub.docker.com to reuse exsiting one or take them as examples

Upvotes: 1

Related Questions