First of all, I am super new to Docker or container World in general.
So far, I built 2 images (both local and cannot push to hub being internal work)
I created a docker-compose file to be able to run the images in their own containers.
This all works great as expected. Now, the question comes up is how do i deliver it to the consumers so that they can just get it up and running in no time.
The another possible challenge that comes to my mind is: how do i deliver continuous updates to the images so that consumers get it hassle free.
if i m updating the image then why does it require a new docker-compose file? that wont change. something in the actual would chage. like for my case my web image also packs the web application. And i may need to just update the application code for some bug fixes or continues enhancements. Sorry may be i am missing something
so i see a problem here: which I raised in the my original question as well.
i do not have those repositories setup and can not use docker public registry as well. So, basically, my image is local.
I believe in my case when consumer sets up this then they would need to download
2 images files, 1 docker-composer.yml and need to setup docker and do docker stack deploy
Questions
does this sounds right or totally weird to not have repository ?
so u r saying i can have a docker repositry which is accessible to me + some users i want ? I thought a docker repository is either purely private to owner or public
Yeah definitely, you can use Docker Hub “groups” concept to authorize only a specific subset of users to have access to a repository. So your users could make Docker Hub accounts (would not cost them anything if you pay for the private repo) and you could add them to this group.
does the update to really work require a different docker-compe file as u mentioned a new name? In other words is it smart if i just change the version number in the docker-compose.yml keeping its name same?
Yes, you can make modifications to an existing file and apply them using docker stack deploy. You do not have to have a brand new file with a different name.