Skip to content
Maksym Zaporozhets edited this page Jun 9, 2023 · 2 revisions

Frequently Asked Questions

Can I import DB in the pre-built container?

Sure, you can!

The important thing to mention is that there is no volume to store DB data. So, running docker-compose stop or recreating the container/composition will destroy the DB data. This should not be an issue though, because developers use migration scripts, patches, or write the code elsewhere instead of directly changing the DB structure. Test data is generated with Faker or other libraries. Thus, losing the DB data on restart should not be a big deal for you.

Your computer restart does not mean recreating the container, so you will not lose the data. Stopping the container will not destroy the data either, because the container is not removed. You can start it again and the data will be there.

@TODO: To be described and answered

*How to change the image path?*

change image (registry) path for existing images

*How to get root password from the pre-built DB?*
*What if I need root access to edit privileges or do some other stuff?*
1. Create a new DB container from MySQL and get root password from it
2. Not recommended, but still possible: use pre-defined root password in your `docker compose` files

*What to do on upload failure?*

*What to do on pipeline failure?*

*What to do on image build failure?*
Clone this wiki locally