Add docker scripts
This commit is contained in:
parent
53b654d123
commit
56acb44c2a
3
docker-bash.sh
Executable file
3
docker-bash.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#/bin/bash
|
||||
|
||||
docker exec --user 0 -it unrealircd /bin/bash
|
5
docker-build.sh
Executable file
5
docker-build.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#/bin/bash
|
||||
|
||||
docker build . \
|
||||
--file Dockerfile \
|
||||
--tag unrealircd:latest
|
3
docker-rm.sh
Executable file
3
docker-rm.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#/bin/bash
|
||||
|
||||
docker rm -f unrealircd
|
9
docker-run.sh
Executable file
9
docker-run.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#/bin/bash
|
||||
|
||||
docker run -d -it \
|
||||
-p 127.0.0.1:6900:6900 \
|
||||
-p 127.0.0.1:6697:6697 \
|
||||
-p 127.0.0.1:6667:6667 \
|
||||
-v /${PWD}/conf/:/app/conf \
|
||||
--name unrealircd \
|
||||
unrealircd:latest
|
Reference in New Issue
Block a user