Skip to content

akhianil604/a4-docksmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docksmith

Run everything from WSL/Ubuntu.

One-time offline base import

bash scripts/import-base.sh

Full verification

bash verify.sh

Faculty demo flow

go build -o docksmith ./
bash scripts/import-base.sh
rm -f ~/.docksmith/cache/index.json ~/.docksmith/images/myapp/latest.json ~/.docksmith/images/envdemo/latest.json ~/.docksmith/images/writecheck/latest.json
./docksmith build -t myapp:latest ./examples/hello-basic
./docksmith build -t myapp:latest ./examples/hello-basic
./docksmith images
./docksmith run myapp:latest
./docksmith build -t envdemo:latest ./examples/env-override
./docksmith run -e TARGET=faculty envdemo:latest
./docksmith build -t writecheck:latest ./examples/write-check
rm -f /work/docksmith-faculty-leak.txt
./docksmith run -e OUTPUT_FILE=/work/docksmith-faculty-leak.txt writecheck:latest
test ! -e /work/docksmith-faculty-leak.txt && echo PASS
./docksmith rmi myapp:latest

About

Main Repository for Cloud Computing Mini Project - Docksmith (A simplified docker-like build and runtime system from scratch)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors