I’m new to Docker and I have a PHP app with a MySQL database. Do I need to push both the PHP and database images separately to Docker Hub? Is there a way to upload the entire container at once?
Your post indicates that you lack a basic understanding what images and containers are. Without a basic understanding of docker basics and concepts, it can be quite challenging and frustrating.
Recommended links to learn the basics and concepts:
- General “self-paced” training about containers: Introduction to Containers
- @rimelek’s tutorials: Welcome to Learn Docker’s documentation! — Learn Docker documentation
- What is a container (docker docs): What is a container? | Docker Docs