From: Mart Lubbers Date: Mon, 10 Oct 2016 17:16:16 +0000 (+0200) Subject: Add MySQL instructions X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=1f00d90c96f20c1294db2f5407f0e539ab76c26c;p=ssproject1617.git Add MySQL instructions --- diff --git a/Dockerfile b/Dockerfile index 9888d25..7c6db1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ # Bouw met: docker build -t ssapache . # Run met: docker run --name ssapache -d -p 80:80 -p 3306:3306 ssapache + +# Database aanmaken kan makkelijk door in te loggen op de MySQL server met: +# docker exec -it f318503d4a81 mysql -u root # MySQL inloggegevens zijn root zonder wachtwoord FROM tutum/lamp:latest RUN rm -fr /app