Skip to content

JordanHoeft/ubuntool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntool

Just a sample pullable docker util. I use this for CoreOS style toolboxes and pods in K8s.

It's a thicc boi, around 400MB~, so might be best to pull something like alpine-curl, if that's just what you need.

$ make
+------------------+
| ubuntool targets |
+------------------+
build        Build ubuntool locally
shell        Start a /bin/bash shell on ubuntool container
publish      Build locally and publish to registry

Do things:

docker run  --rm -i -t ubuntool bash                                                                                                                                              <<<
root@cb50a8b4bda1:/# which k9s
/usr/local/bin/k9s
root@cb50a8b4bda1:/# which ip
/usr/sbin/ip
root@cb50a8b4bda1:/# which iperf3
/usr/bin/iperf3
root@cb50a8b4bda1:/# which ss
/usr/bin/ss

Privileged kube stuff in privileged-ubuntool.yaml, for docker host escalation, like how CoreOS toolbox worked:

docker run --rm -i -t --net=host --userns=host -v /:/host:ro --privileged ghcr.io/tolson-vkn/ubuntool:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 59.0%
  • Makefile 41.0%