User Tools

Site Tools


admin:docker:start

Differences

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

Link to this comparison view

Next revision
Previous revision
admin:docker:start [2019/04/18 09:28]
lennart ↷ Page moved from admin:linux:docker:start to admin:docker:start
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!
  
-+===== stats sortieren ===== 
-====== Müll entfernen ======+ 
 +  * [[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
 +
 +<code>
 +docker image prune
 +docker volume prune
 +</code>
  
 <code> <code>
Line 20: Line 38:
 </code> </code>
  
-lalalaaaa +===== Healtcheck =====
-====== GitLab ======+
  
-  * https://docs.gitlab.com/ee/ci/docker/using_docker_build.html+  * https://docs.docker.com/engine/reference/builder/#healthcheck
  
-<code+<file - Dokerfile
-gitlab-runner register -n \ +HEALTHCHECK CMD curl --fail http://localhost || exit 1 
-  --url http://www.leotec.io:81\ +</file> 
-  --registration-token XXXXX \ + 
-  --executor docker \ + 
-  --description "My Group Docker Runner"+===== Network stopped working =====
-  --docker-image "docker:stable"+
-  --docker-privileged     +
-</code>+
  
 +  * [[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.1555579732.txt.gz · Last modified: 2019/04/27 16:45 (external edit)