Sign inSign up

thanhlvcom/image-dev-utils

By thanhlvcom

Updated 11 months ago

Image
0

1.3K

thanhlvcom/image-dev-utils repository overview

Image Dev Utils

This project provides a Docker image with a comprehensive set of development tools. It's designed to be a versatile environment for various development and debugging tasks.

How to Build and Run

Using Docker Compose

The docker-compose.yml file defines two services:

  • image-dev-utils-local: Builds the Docker image from the local Dockerfile and runs it.
  • image-dev-utils-dockerhub: Pulls the pre-built image from Docker Hub and runs it.

To run the local version:

docker-compose up -d image-dev-utils-local

To run the Docker Hub version(Docker compose):

docker-compose up -d image-dev-utils-dockerhub

To run the Docker Hub version(Docker run):

docker run -d -p 223:22 thanhlvcom/image-dev-utils
Using Docker

To build the image directly with Docker:

docker build -t image-dev-utils .

To run the container:

docker run -d -p 223:22 --name image-dev-utils image-dev-utils

Included Tools

This Docker image comes pre-installed with a wide range of tools, including:

Base System:

  • openssh-server
  • sudo
  • curl, wget
  • ca-certificates, gnupg, lsb-release, apt-transport-https, software-properties-common

Text Editors:

  • vim
  • nano

Basic Utilities:

  • git
  • tree
  • unzip, zip
  • htop
  • telnet

Build Tools:

  • build-essential

Runtimes and Package Managers:

  • nodejs
  • python3, python3-pip, python3-venv
  • go

CLI Tools:

  • docker-ce-cli
  • jq (JSON processing)
  • ripgrep (search)
  • fd-find (find)
  • bat (file viewing)
  • fzf (fuzzy finder)
  • tmux, screen (terminal multiplexers)
  • neofetch, ncdu, ranger (system info)

Network Tools:

  • nmap
  • netcat-openbsd
  • tcpdump
  • dnsutils
  • net-tools
  • iperf3

File Transfer:

  • rsync

Debugging and Tracing:

  • strace, ltrace
  • lsof
  • gdb
  • valgrind
  • perf-tools-unstable
  • binutils
  • xxd

Database Clients:

  • sqlite3
  • redis-tools
  • postgresql-client
  • mysql-client

Web and Load Testing:

  • apache2-utils
  • stress, stress-ng
Local Build (image-dev-utils-local)

System Statistics:

  • sysstat

SSH Access

You can connect to the running container via SSH.

  • Host: localhost
  • Port: 223
  • Username: test
  • Password: test
Docker Hub Image (image-dev-utils-dockerhub)
  • Host: localhost
  • Port: 224
  • Username: test
  • Password: test

Example connection command:

ssh test@localhost -p 224

Example connection command:

ssh test@localhost -p 223

You can customize the username and password by setting the USERNAME and PASSWORD environment variables in the entrypoint.sh script.

Aliases

The following aliases are pre-configured in /etc/bash.bashrc:

  • ll="ls -alF"
  • la="ls -A"
  • l="ls -CF"
  • grep="grep --color=auto"
  • fgrep="fgrep --color=auto"
  • egrep="egrep --color=auto"
  • cat="batcat"
  • find="fdfind"

Tag summary

Content type

Image

Digest

sha256:05e448f85

Size

725.9 MB

Last updated

11 months ago

docker pull thanhlvcom/image-dev-utils