1. docker 로 서버 환경 만들기
(1) 다운로드
https://download.docker.com/mac/stable/Docker.dmg
안되면 https://docs.docker.com/docker-for-mac/install/ 에서 Get Docker for Mac (Stable) 다운로드
(2) docker 설치
https://docs.docker.com/docker-for-mac/install/
h:~ mbp118$ docker info
...
Kernel Version: 4.9.60-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952GiB
Name: linuxkit-025000000001
ID: VLOC:EHG3:QVAH:HKAF:LH7O:4G33:YXY4:QOZO:XTRV:KUPN:TUIV:4RZL
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
...
h:~ mbp118$ docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:03:51 2017
OS/Arch: darwin/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:29 2017
OS/Arch: linux/amd64
Experimental: true
h:~ mbp118$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
h:~ mbp118$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
(4) apm 설치
https://medium.com/@meeramarygeorge/create-php-mysql-apache-development-environment-using-docker-in-windows-9beeba6985
2. 개발 환경 만들기
(1) 개발 툴 다운로드
(2) 개발 소스
(3) mount
3. 테스트.
'System > macOS' 카테고리의 다른 글
docker 사용하기. (0) | 2018.02.02 |
---|---|
vagrant (0) | 2018.02.01 |
brew 설치. (0) | 2018.01.31 |