Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- ssh
- GIT
- vscode
- 단축키
- maVen
- 네트워크
- Windows 10
- lsof
- plugin
- find
- Mac
- Eclipse
- Windows
- resource
- 줄바꿈 문자
- JavaScript
- IntelliJ
- VirtualBox
- grep
- web.xml
- bash
- context
- profile
- port
- netsh
- import
- xargs
- Quartz
- tomcat
- Source
Archives
- Today
- Total
develog
[docker] mysql + wordpress 본문
mysql 실행
docker run -d --restart=always --name mysqldb -e MYSQL_ROOT_PASSWORD=1234 -e MYSQL_DATABASE=wordpress mysql:5.7 |
wordpress 실행
docker run -d --restart=always --name wordpress -e WORDPRESS_DB_PASSWORD=1234 --link mysqldb:mysql -p 8080:80 wordpress |
wordpress 접속
http://localhost:8080 |
'Dev > docker' 카테고리의 다른 글
[docker] Dockerfile 명령어 (0) | 2022.02.07 |
---|---|
[docker] ubuntu 실행 (0) | 2022.02.05 |
docker timezone 설정 (0) | 2020.08.06 |
[docker] CentOS, Ubuntu 에 docker engine 설치하기 (0) | 2020.08.06 |
[docker] docker-compose (0) | 2020.01.17 |
Comments