Docker

From no name for this wiki
Revision as of 08:15, 7 June 2022 by Claude (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

run container

docker run --name anguly1 -p 8080:80 -e PathBase=endpoint/sampleapp1 --rm angy
docker run --env SYSTEM_ENV=int --env SYSTEM_ENV=local -p 8080:8080 --name mybrotlicontainer --rm  mydockery

connect a console =

docker container exec -it anguly1 sh
docker exec -it mybrotlicontainer /bin/bash

build

docker build -t mydockery .