4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
    Type 1 or more characters for results.
    Links per page: 20 50 100
    ◄Older
    page 3 / 7
    Newer►
    129 results tagged docker x
    • thumbnail
      Reset properties inherited from parent image · Issue #3465 · moby/moby

      t also adds complexity to the Dockerfile language when there are clear workarounds. Don't push so much config in the parent Dockerfile and leave if for the inheriting images instead. (aka: stop sourcing random images on docker hub :D)

      Since docker 17.05 there is also a new way to do multi-stage builds that removes most of the need for this issue (this is a single Dockerfile):

      First import the original image

      FROM nginx AS source-image

      Second step of the build, start with an empty image

      FROM scratch

      Copy the data from the original image

      COPY --from=source-image / /

      Re-define all the config

      EXPOSE 80
      STOPSIGNAL SIGTERM
      CMD ["nginx", "-g", "daemon off;"]

      EDIT: Forgot to say, the second solution squashes all previous layers. I don't think it's a big deal but it's good to know.

      October 5, 2017 at 3:18:20 PM GMT+2 - permalink - archive.org - https://github.com/moby/moby/issues/3465#issuecomment-313549657
      docker
    • thumbnail
      jpetazzo/critmux: Docker + CRIU + tmux = magic!
      October 5, 2017 at 3:15:00 PM GMT+2 - permalink - archive.org - https://github.com/jpetazzo/critmux
      criu docker tmux
    • library/php - Docker Hub

      Quand on utilise une image comme celle là, il ne faut pas faire n'importe quoi comme installer des packages php5-extensions, ce n'est pas du tout prévu... Il faut suivre la doc et utiliser les outils mis à dispo sinon on se retrouve un Dockerfile qui n'a aucun sens...

      Dans ma todo : migrer ces "choses" pour utiliser une image debian de base

      September 6, 2017 at 9:49:42 AM GMT+2 - permalink - archive.org - https://hub.docker.com/_/php/
      docker php
    • thumbnail
      How to list all tags for a Docker image on a remote registry? - Stack Overflow

      wget -q https://registry.hub.docker.com/v1/repositories/debian/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'

      September 6, 2017 at 9:00:07 AM GMT+2 - permalink - archive.org - https://stackoverflow.com/questions/28320134/how-to-list-all-tags-for-a-docker-image-on-a-remote-registry
      docker remote tag
    • How-to Debug a Running Docker Container from a Separate Container – Medium
      August 25, 2017 at 1:35:42 PM GMT+2 - permalink - archive.org - https://medium.com/@rothgar/how-to-debug-a-running-docker-container-from-a-separate-container-983f11740dc6
      debug docker
    • thumbnail
      How to Set external Parameters in the Service Container (2.7)

      En gros pour dockeriser une app symfony pre 3.2 (ET 2.7 minimum) :

      • il faut utiliser des env var speciales : SYMFONY__*
      • faire en sorte que apache les passent en contexte à l'application (PassEnv)
      • Bien sur il faut que tout ça soit dynamique... (entrypoint, sed conf apache..)

      sed -i "s/PLACEHOLDER/PassEnv $(env|grep -Po 'SYMFONY__[^=]+'| paste -s -d' ')/" test.file

      A partir de symfony 3.2 c'est beaucoup plus facile car les variables d'environnements sont directement accessibles dans les fichiers de configuration

      August 18, 2017 at 5:33:48 PM GMT+2 * - permalink - archive.org - http://symfony.com/doc/2.7/configuration/external_parameters.html
      docker php symfony
    • User-guided caching in Docker for Mac - Docker Blog

      Mieux vaut être sous GNU/Linux

      June 27, 2017 at 11:14:13 AM GMT+2 - permalink - archive.org - https://blog.docker.com/2017/05/user-guided-caching-in-docker-for-mac/
      docker
    • thumbnail
      Configure logging drivers - Docker Documentation

      Logging option

      April 20, 2017 at 4:27:25 PM GMT+2 - permalink - archive.org - https://docs.docker.com/engine/admin/logging/overview/#syslog
      docker log
    • Containers and docker | Consolia
      April 2, 2017 at 10:14:00 AM GMT+2 - permalink - archive.org - https://consolia-comic.com/comics/containers-and-docker
      bd comic docker
    • willfarrell/crontab - Docker Hub

      alternative to ofelia

      March 23, 2017 at 11:06:06 AM GMT+1 - permalink - archive.org - https://hub.docker.com/r/willfarrell/crontab/
      cron docker
    • Jessie Frazelle's Blog: Docker Containers on the Desktop
      March 16, 2017 at 11:35:56 AM GMT+1 * - permalink - archive.org - https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
      app crhome desktop docker gui skype
    • Note: docker bug

      Today I got a docker daemon not responding to commands (docker ps, docker run...)
      Even after restarting service
      In /var/log/docker I got this:
      time="2017-03-01T08:28:58.43946917Z" level=fatal msg="open /var/run/docker/libcontainerd/containerd/81623262351dfc42c5e87aa8df11592a57f2d14a468476620c7c4d6c89de1958/state.json: no such file or directory"

      The solution was to stop docker service, remove this /var/run/docker directory and restart docker service

      March 1, 2017 at 9:31:13 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?vywQIw
      bug docker
    • Note: Docker stop non standard software (ignoring SIGTERM)

      docker stop command send SIGTERM to pid1 inside the container to let a chance to stop gracefully (https://www.ctl.io/developers/blog/post/gracefully-stopping-docker-containers/)
      Unfortunatly some software ignore SIGTERM and need to be stopped by their own command (hello opendj)

      To do so, in the Dockerfile, in the CMD, I use a script like this :
      /thecommand/tostart/thesoftware/inbackground
      trap "/thecommand/tostop/thesoftware" SIGTERM
      while true; do sleep 1; done

      so my script is run with PID1, docker stop sends SIGTERM, my script catch (trap) the signal, and run the command to stop gracefully

      February 16, 2017 at 2:16:44 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?Mxx31A
      catch docker ini script signal stop trap
    • library/buildpack-deps - Docker Hub

      TIL what is this offical repository :

      Only debian with some useful package to build dependencies (needed when you install some gem for example)

      For example ruby:2.3 Dockerfile use a buildpack-deps image

      February 10, 2017 at 4:27:52 PM GMT+1 - permalink - archive.org - https://hub.docker.com/_/buildpack-deps/
      debian docker ruby
    • Note: Expected or not

      I don't know if this shit is expected (normal behaviour or not) but this is annoying

      bash :

      $ toto=tata
      $ echo $toto
      tata

      $ toto='tata'
      $ echo $toto
      tata

      $ toto="tata"
      $ echo $toto
      tata

      avec docker run -e

      $ docker run -e toto=tata -it debian:jessie bash
      root@5de64152ed05:/# echo $toto
      tata

      $ docker run -e toto='tata' -it debian:jessie bash
      root@99a6b62f595c:/# echo $toto
      tata

      $ docker run -e toto="tata" -it debian:jessie bash
      root@ab7581c30734:/# echo $toto
      tata

      avec docker run --env-file:

      $ cat env.file
      toto="tata"
      $ docker run -it --env-file env.file debian:jessie bash
      root@805480de4a52:/# echo $toto
      "tata"

      $ cat env.file
      toto='tata'
      $ docker run -it --env-file env.file debian:jessie bash
      root@004b88cc448d:/# echo $toto
      'tata'

      $ cat env.file
      toto=tata
      $ docker run -it --env-file env.file debian:jessie bash
      root@2ca9908d1cdf:/# echo $toto
      tata

      avec docker compose:

      $ cat docker-compose.yml
      version: '2'
      services:
      foo:
      image: debian:jessie
      container_name: foo
      environment:

      • toto1=tata
      • toto2="tata"
      • toto3='tata'
        command: tail -f /var/log/dmesg

      docker-compose up -d
      docker exec -it foo bash

      root@71a9a886cc24:/# echo $toto1
      tata
      root@71a9a886cc24:/# echo $toto2
      "tata"
      root@71a9a886cc24:/# echo $toto3
      'tata'

      February 2, 2017 at 3:59:09 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?lXfuBg
      docker env value variable
    • thumbnail
      Docker 1.13

      Sympa les petites nouveautés!

      docker system df
      docker system prune

      CLI restructured <3

      Improved CLI backwards compatibility <3

      January 30, 2017 at 1:48:18 PM GMT+1 - permalink - archive.org - https://blog.docker.com/2017/01/whats-new-in-docker-1-13/
      docker
    • Releases · docker/compose 1.10

      Compose file version 2.1 and up

      Healthcheck configuration can now be done in the service definition using
      the healthcheck parameter
      Containers dependencies can now be set up to wait on positive healthchecks
      when declared using depends_on. See the documentation for the updated
      syntax.
      January 23, 2017 at 9:12:31 AM GMT+1 - permalink - archive.org - https://github.com/docker/compose/releases
      docker
    • The Twelve-Factor App
      December 30, 2016 at 1:10:48 PM GMT+1 * - permalink - archive.org - https://12factor.net/
      best ci docker env factor plan practice unix variable
    • thumbnail
      ofelia/README.md at master · mcuadros/ofelia · GitHub
      December 26, 2016 at 12:42:11 PM GMT+1 - permalink - archive.org - https://github.com/mcuadros/ofelia/blob/master/README.md
      cron docker
    • thumbnail
      GitHub - jwilder/nginx-proxy: Automated nginx proxy for Docker containers using docker-gen
      December 13, 2016 at 11:59:16 AM GMT+1 - permalink - archive.org - https://github.com/jwilder/nginx-proxy
      docker nginx proxy
    Links per page: 20 50 100
    ◄Older
    page 3 / 7
    Newer►
    Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation