docker command
sudo docker run -ti --name prestashop_docker -e PS_DEV_MODE=false -e PS_INSTALL_AUTO=0 -p 8080:80 -d -v ./var/www/html/ prestashop/prestashop:latest
sudo docker ps /list of docker
sudo docker pull webkul/lamp-with-prestashop
sudo docker run -i -p 80:80 -p 3306:3306 --name=wprestadocker -d webkul/lamp-with-prestashop
sudo docker exec -it prestashop echo "Hello from container!" /// run existing
sudo docker rm prestashop_docker // remove
sudo docker stop prestashopdocker || true && docker rm prestashopdocker || true //existing and remove
sudo docker ps /list of docker
sudo docker pull webkul/lamp-with-prestashop
sudo docker run -i -p 80:80 -p 3306:3306 --name=wprestadocker -d webkul/lamp-with-prestashop
sudo docker exec -it prestashop echo "Hello from container!" /// run existing
sudo docker rm prestashop_docker // remove
sudo docker stop prestashopdocker || true && docker rm prestashopdocker || true //existing and remove
Comments
Post a Comment