Skip to content
Snippets Groups Projects
Commit cf6bb95e authored by Claudiu MILEA (95030)'s avatar Claudiu MILEA (95030)
Browse files

Add Makefile for basic Docker commands

parent 533abd4e
No related branches found
No related tags found
No related merge requests found
Pipeline #221 canceled
Makefile 0 → 100644
registry=gitlab.cs.pub.ro:5050/reaact/can-container
img_name=can-container
tag_name=${registry}
build:
docker image build -t ${tag_name} .
run: build
docker run --network=host --name ${img_name} ${tag_name}
bash:
docker exec -it ${img_name} /bin/bash
push:
docker push ${tag_name}
clean:
docker rm -f ${img_name}
docker image rm ${tag_name}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment