Skip to content

Varia utility Dockerfiles (java, tomcat, wildfly, etc)

Notifications You must be signed in to change notification settings

yanchiuvip/dockerfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Cheat Sheet

  1. Find container ip address:
  • $ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name
  1. Docker daemon log
  • $ sudo tail -f /var/log/upstart/docker.log
  1. Container logs
  • $ docker logs -f container_name
  1. Docker events
  • $ docker events
  1. Static ip address (docker v1.10+)
$ docker network create --subnet 203.0.113.0/24 bluesky
$ docker run -d --name wildfly10 --net=bluesky --ip=203.0.113.20 -p 8080:8080 -p 9990:9990 casadocker/wildfly:10.0.0
  1. Docker compose configuration

About

Varia utility Dockerfiles (java, tomcat, wildfly, etc)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 85.2%
  • Shell 13.9%
  • PLpgSQL 0.9%