Laravel Sail Publish Image to DockerHub

Viewed 194

can anyone please tell me how I can publish and successfully run an image to DockerHub from a Laravel Sail project?

Essentially I ran sail artisan sail:publish and inside docker/8.0 I created an upload_image.sh script that builds and then pushes my image to DockerHub. What I want to know is how do I run my image now?

I'm running docker run -it -p 8000:80 -v $PWD/html:/var/www/html <DOCKER_USERNAME>/<IMAGE NAME> and it doesn't seem to be working.

This is my output:

enter image description here

Any help would be brilliant.

TIA

0 Answers
Related