Sunday 31 May 2020

Apache, PHP & MySql on Docker on Ubuntu 20

Install Ubuntu
Install docker
sudo group add docker
sudo usermod -aG docker $USER
newgrp docker
docker image ls
docker rmi hello-world:latest
mkdir web_dev
cd web_dev/
vi docker-compose.yml
```
version:'3.3'
services:
  web:
    image: php:7.3-apache
    comtainer_name: php73
    volumes:
        -  /php:/var/www/html/
    ports:
        - 8080:80
```
docker-compose up

No comments:

Post a Comment

Jenkins Startup and Configuration

Steps to setup jenkins on ubuntu:- -After installation. check the jenkins services running on not on the server. sudo service jenk...