Skip to content

Latest commit

 

History

History
120 lines (82 loc) · 1.48 KB

COMMANDS.md

File metadata and controls

120 lines (82 loc) · 1.48 KB

Useful Commands

Table of Contents

Usage

docker-compose exec --user=laradock workspace bash
cd application

Commands

Composer

composer clear-cache && composer update
composer clear-cache && composer dump-autoload
composer run-script php-cs-fixer

Docker

라라독 실행하기

docker-compose up -d apache2 mysql workspace

컨테이너 빌드

docker-compose up --build

컨테이너 재빌드

docker-compose up --build --force-recreate

컨테이너 백그라운드에서 생성

docker-compose up -d <container>

컨테이너 삭제

docker-compose down

컨테이너 시작

docker-compose start

컨테이너 재시작

docker-compose restart

컨테이너 종료

docker-compose stop

컨테이너 확인

docker ps -a

컨테이너 아이디 확인

docker ps -aq

모든 컨테이너 삭제

docker container rm -f $(docker container ls -aq)

모든 도커 이미지 삭제

docker image rm -f $(docker images ls -q)

Issue

An attempt was made to access a socket in a way forbidden by its access permissions.

net stop winnat
net start winnat