User Tools

Site Tools


admin:docker:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:docker:start [2019/04/20 13:01]
lennart [Healtcheck]
admin:docker:start [2019/05/11 11:17] (current)
lennart
Line 1: Line 1:
 ====== Docker ====== ====== Docker ======
 +
 +  * [[https://github.com/docbill/docker-scripts/blob/master/docker-rebase|Image rebase]]
 +  * [[https://success.docker.com/article/troubleshooting-container-networking|Troubleshooting Container Networking]]
 +  * https://composerize.com/
 +
 +===== Docker as a non-root user =====
  
 If you would like to use Docker as a non-root user, you should now consider If you would like to use Docker as a non-root user, you should now consider
Line 10: Line 16:
 Remember that you will have to log out and back in for this to take effect! Remember that you will have to log out and back in for this to take effect!
  
-====== Müll entfernen ======+===== stats sortieren ===== 
 + 
 +  * [[https://stackoverflow.com/a/43932310/6297|Sort by memory usage in docker stats]] 
 + 
 +<code> 
 +docker stats --no-stream --format "table {{.Name}}\t{{.MemPerc}}\t{{.MemUsage}}\t{{.Container}}" | sort -k 2 -r 
 +</code> 
 + 
 +===== Müll entfernen =====
  
   * https://github.com/docker/distribution/blob/master/docs/deploying.md   * https://github.com/docker/distribution/blob/master/docs/deploying.md
Line 24: Line 38:
 </code> </code>
  
-====== Healtcheck ======+===== Healtcheck =====
  
   * https://docs.docker.com/engine/reference/builder/#healthcheck   * https://docs.docker.com/engine/reference/builder/#healthcheck
Line 31: Line 45:
 HEALTHCHECK CMD curl --fail http://localhost || exit 1 HEALTHCHECK CMD curl --fail http://localhost || exit 1
 </file> </file>
 +
 +
 +===== Network stopped working =====
 +
 +  * [[https://stackoverflow.com/questions/28923743/dockers-docker0-device-dies-repeatedly-inet-addr-disappears/39448733#39448733|Docker's `docker0` device dies repeatedly (`inet addr` disappears)]]
 +
admin/docker/start.1555765288.txt.gz · Last modified: 2019/04/27 16:45 (external edit)