command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 24, 2020
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
LOAD-CONTAIENR
Use submodule for pattern make and deploy
git submodule add git@github.com:afonsoaugusto/base-ci.git
git submodule update --init --recursive
docker run --rm -it \
-v $PWD:/src/ \
-e "GOPATH=/src" \
golang bash
make build && make scan && docker run --rm -it -p 9000:9000 afonsoaugusto/load-container:b8e61d5-master
docker build -t api .
docker run --rm -it -p 9000:9000 --name api api
curl -iL localhost:9000/
curl -iL localhost:9000/mem-usage
docker build -t api . && \
docker run --rm -it -p 9000:9000 --name api --cpus="1" --cpu-shares=2 --cpuset-cpus=1 api
docker run --rm -it -p 9000:9000 --name api -m 10m --memory-swap -1 api
docker run --rm -it -p 9000:9000 --name api --cpus="1" --cpu-shares=2 --cpuset-cpus=1 afonsoaugusto/load-container:latest
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.