Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hughplay committed Jul 6, 2024
1 parent e5977a2 commit 8a38b5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions dockerlab/assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
# ref: https://gist.github.com/MarkWarneke/2e26d7caef237042e9374ebf564517ad
-include .env

# run on host
# run on host, build and start container
init:
python docker.py startd --build

# run on host
# run on host, start container but do not build
start:
python docker.py startd

# run on host, enter container
in:
python docker.py

# run on host
# run on host, enter container as root
root:
python docker.py --root

Expand Down
1 change: 0 additions & 1 deletion dockerlab/assets/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9"
services:
project:
container_name: ${PROJECT}_${USER_NAME}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ readme = "README.md"
python = "^3.8"
click = "^8.1.3"
toml = "^0.10.2"
docker = "^5.0.0"

[tool.poetry.scripts]
dockerlab = "dockerlab.cli:main"
Expand Down

0 comments on commit 8a38b5f

Please sign in to comment.