Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 865 Bytes

File metadata and controls

41 lines (27 loc) · 865 Bytes

Developer instructions

Table of Contents

environment setup

Docker version used:

  • Docker version 29.0.2, build 8108357

useful commands

cool debugging commands:

docker exec -it -u root <container_name> <command> # general purpose container debugging

netstat -tulnp # check listening ports

layer & states:

docker history <image_name> # sequence and layers
docker \
			inspect <image_name> # JSON metadata of image
			network inspect <network_name> # JSON metadata of network
			volume inspect <volume_name> #

container specific:

docker exec -it wordpress wp user list --allow-root --path=/var/www/html # list all users

docker exec -it wordpress wp db check --allow-root --path=/var/www/html # check wp-database connection