mirror of https://github.com/docker/compose.git
Add a target to run docker serve
It documents how to use it and just makes it easy.
This commit is contained in:
parent
2e11b2148a
commit
130cb87ec9
6
Makefile
6
Makefile
|
@ -58,8 +58,10 @@ cache-clear: ## Clear the builder cache
|
||||||
lint: ## run linter(s)
|
lint: ## run linter(s)
|
||||||
@docker build . --target lint
|
@docker build . --target lint
|
||||||
|
|
||||||
|
serve: cli ## start server
|
||||||
|
@./bin/docker serve --address unix:///tmp/backend.sock
|
||||||
classic-link: ## create docker-classic symlink if does not already exist
|
classic-link: ## create docker-classic symlink if does not already exist
|
||||||
ln -s /Applications/Docker.app/Contents/Resources/bin/docker /usr/local/bin/docker-classic
|
ln -s $(CLASSIC_DOCKER) /usr/local/bin/docker-classic
|
||||||
|
|
||||||
help: ## Show help
|
help: ## Show help
|
||||||
@echo Please specify a build target. The choices are:
|
@echo Please specify a build target. The choices are:
|
||||||
|
@ -67,4 +69,4 @@ help: ## Show help
|
||||||
|
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
.PHONY: all protos cli e2e-local cross test cache-clear lint classic-link help
|
.PHONY: all protos cli e2e-local cross test cache-clear lint serve classic-link help
|
||||||
|
|
Loading…
Reference in New Issue