on the website digitalocean found an example of how to deploy a docker site using the yml file
wordpress: image: wordpress links: - wordpress_db:mysql ports: - 8080:80 wordpress_db: image: mariadb environment: MYSQL_ROOT_PASSWORD: examplepass phpmyadmin: image: corbinu/docker-phpmyadmin links: - wordpress_db:mysql ports: - 8181:80 environment: MYSQL_USERNAME: root MYSQL_ROOT_PASSWORD: examplepass I want from this example instead of wordpress image to substitute my image and the rest of the assembly to be as in the example.
The question is how to properly "make" an image if I want to make it from my image? For example, I created my own turnip on hub.docker.com - I started the repository there and now I want to "bring it to mind" but the original Dockerfile file is no longer there to install additional software on the image and change it to rebuild again.
Please tell me how to act in such cases. PS: I am going to pull up the code from the git repository during the build, in order to do edits to git, if necessary, or what is the best way to proceed?
Dockerfileitself; as a result of its reassembly, you will get a new version of the image. The "version tree" as such will not grow "up", as ingit, but "sideways", as ifgit commit --amendwas constantly being done, only instead of commits of the image state. You now have a dump of vague questions in the question, reduce it to something specific, and divide it into several separate exact questions, if necessary. - D-sidedocker-composeeven has abuilddirective that collects the image from the specified folder, and does not take it from the Hub. M ... it seems that part of the question was in this and I am already beginning to answer in the comments, which is not good. Share :) - D-side