How to share locally create laravel app on docker image with a team member?

Posted June 23, 2021 177 views
UbuntuPHPDockerPHP FrameworksLEMPLaravelUbuntu 20.04

So, i have create docker up running laravel. Works.
Now i want my team mates to use it.
How do i do that?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @CodingWisely,

What you could do is push the image to Docker Hub or create a Docker Registry with DigitalOcean and push it there.

Once you have your Docker repository ready, you need to login with the following command:

docker login

Then you can push the image with the following command:

docker push your-docker-user/name-of-image-here

For more information on Docker images and how to push them, I could suggest this article here.

Hope that this helps!