8000 GitHub - ma3310/images-ubuntu: Customized Ubuntu container images
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ma3310/images-ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu Images

Normally when people start ubuntu container, they want to check system stutus or network environment, but original offical Ubuntu images are lack of necessary tools by default. This repository integrates essential diagnostic tools from official and most famous 3rd part repositories, and is connected to Docker Hub to provide handy images.

Access related Docker images at https://hub.docker.com/r/ma3310/ubuntu.

ma3310/ubuntu:20.04-tools

Image ma3310/ubuntu:20.04-tools integrates below tools are from official repository:

Package Command Function
curl curl
iputils-ping ping
procps ps
mycli mycli MySQL/MariaDB client tool
net-tools ifconfig
netstat
route

Usage

Docker

For oh-my-zsh users on macOS, kindly add below to .zshrc after export ZSH statement as docker runs as root.

if [[ ! -d $ZSH ]]; then
  export ZSH="/root/.oh-my-zsh"
fi
# Container will be automatically removed after issue exit command.
docker run --rm -it ma3310/ubuntu:20.04-tools
docker run --rm -it ma3310/ubuntu:22.04-tools
docker run --rm -it ma3310/ubuntu:22.04-devBox

# Use own zsh environment to initialize console settings.
docker run --rm -it -v ~/:/root/ ma3310/ubuntu:20.04-tools /bin/zsh
docker run --rm -it -v ~/:/root/ ma3310/ubuntu:22.04-tools /bin/zsh

# Diagnose localhost environment.
docker run --rm -it --network=host -v ~/:/root ma3310/ubuntu:20.04-tools /bin/zsh

# Diagnose docker/compose network environment.
docker run --rm -it --network=csk_default -v ~/:/root ma3310/ubuntu:20.04-tools /bin/zsh

Kubernets

# Pod will be automatically removed after issue exit command
kubectl run -i --tty --image=ma3310/ubuntu:20.04-tools --restart=Never --rm=true ubuntu-20.04-tools

Official 20.04

# 根据官方镜像 ubuntu:20.04 启动容器
docker run --rm -it ubuntu:20.04

Build your own images

Users could also use Dockerfiles in this repository to build and release own images through docker commands.

# Login Docker Hub.
docker login

# Build / Publish / Deploy images.
docker build . -t ma3310/ubuntu:20.04-tools
docker push ma3310/ubuntu:20.04-tools
docker pull ma3310/ubuntu:20.04-tools

About

Customized Ubuntu container images

Resources

Stars

Watchers

Forks

Packages

No packages published
0