Skip to content

joelcapitao/toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General image

podman build -t toolbox:latest -f default/Containerfile
toolbox create --image quay.io/jcapitao/toolbox:latest toolbox
toolbox enter toolbox

DLRN image

podman build -t dlrn-toolbox:latest -f dlrn/Containerfile
podman run --privileged --userns=keep-id -v $HOME/workspace/dlrn-data/:/DLRN/data/:Z -v $HOME/workspace/dlrn-data/.bash_history:/home/dlrn/.bash_history:Z --hostname dlrn --rm -it quay.io/jcapitao/dlrn-toolbox:latest

Dotfiles image

podman build -t dotfiles-toolbox:latest -f dotfiles/Containerfile
cat >> bwrc.sh<< EOF
export BW_CLIENTID=''
export BW_CLIENTSECRET=''
export BW_PASSWORD=''
EOF
podman secret create bwrc.sh bwrc.sh
podman run --privileged --name dotfiles-toolbox --userns=keep-id --secret bwrc.sh --hostname dotfiles -v $HOME/.dotfiles:/root/:z --rm -it quay.io/jcapitao/dotfiles-toolbox:latest

Note: I don't mount my entire home directory but only $HOME/.dotfiles and then I create symlinks. The main reason is to not have to SELinux relabel the whole home directory.

Syncthing image

podman create --name syncthing --network=host --userns=keep-id -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp -p 21027:21027/udp -v /var/home/jcapitao/.config/syncthing:/var/syncthing/config:Z -v /var/home/jcapitao/Documents/:/home/jcapitao/Documents:Z -v /var/home/jcapitao/devices/:/home/jcapitao/devices:Z --hostname=syncthing docker.io/syncthing/syncthing:latest
# From https://www.redhat.com/sysadmin/podman-run-pods-systemd-services
cd $HOME/.config/systemd/user
podman generate systemd --new --files -n syncthing
systemctl --user daemon-reload
systemctl --user start container-syncthing.service
systemctl --user is-active container-syncthing.service

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published