From aea3e38eb56b5d805d488172d6f5beda2dcd6903 Mon Sep 17 00:00:00 2001 From: Dhruv_Patle <79126430+dhruv-2015@users.noreply.github.com> Date: Mon, 8 Nov 2021 09:32:37 +0530 Subject: [PATCH] Add files via upload --- jtvserverdocker.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jtvserverdocker.sh diff --git a/jtvserverdocker.sh b/jtvserverdocker.sh new file mode 100644 index 0000000..20b5741 --- /dev/null +++ b/jtvserverdocker.sh @@ -0,0 +1,12 @@ +apt update && apt upgrade +apt install ca-certificates crl gnupg lsb-release + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg + +echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ + $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + +apt update +apt-get install docker-ce docker-ce-cli containerd.io + +docker run -p 3500:3500 dhruv2015/jtvserver \ No newline at end of file