Skip to content

Instantly share code, notes, and snippets.

@ggmartins
Created July 19, 2026 17:56
Show Gist options
  • Select an option

  • Save ggmartins/0e56b04e0ecb11421536af2fc3f61951 to your computer and use it in GitHub Desktop.

Select an option

Save ggmartins/0e56b04e0ecb11421536af2fc3f61951 to your computer and use it in GitHub Desktop.
run sys container
docker run -it -d --name containername \
--hostname linux \
-v "./data":"/data" \
-p 8000:80 -p 8080:8080 -p 9000:9000 -p 3000:3000 \
--restart always \
ubuntu bash
@ggmartins

Copy link
Copy Markdown
Author

#!/bin/bash
apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends
ca-certificates
curl
wget
gnupg
jq
sudo
nano
vim
less
bash-completion
file
tar
unzip
zip
xz-utils
rsync
git
tree
acl
procps
psmisc
lsof
strace
iproute2
iputils-ping
dnsutils
netcat-openbsd
socat
tcpdump
openssh-client
locales
tzdata
python3
unattended-upgrades

apt-get autoremove -y
apt-get clean

@ggmartins

Copy link
Copy Markdown
Author

docker cp install.sh containername:install.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment