4340 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 1 / 2
129 results tagged docker x
  • thumbnail
    GoogleContainerTools/distroless: 🥑 Language focused docker images, minus the operating system.
    April 7, 2023 at 1:52:21 PM GMT+2 * - permalink - archive.org - https://github.com/GoogleContainerTools/distroless
    distroless docker image
  • thumbnail
    dagger.io
    March 8, 2023 at 10:42:31 AM GMT+1 * - permalink - archive.org - https://dagger.io/
    cd ci docker
  • thumbnail
    GitHub - sigstore/cosign: Container Signing
    September 12, 2021 at 10:17:54 PM GMT+2 - permalink - archive.org - https://github.com/sigstore/cosign
    docker sign
  • ttl.sh | An anonymous & ephemeral (and free) Docker image registry
    September 12, 2021 at 10:16:56 PM GMT+2 * - permalink - archive.org - https://ttl.sh/
    docker registry
  • thumbnail
    Creating the Perfect Python Dockerfile | by Luis Sena | May, 2021 | Medium
    May 21, 2021 at 10:21:09 AM GMT+2 - permalink - archive.org - https://luis-sena.medium.com/creating-the-perfect-python-dockerfile-51bdec41f1c8
    docker gunicorn python
  • Note: haproxy

    Ces derniers jours je suis en train de voir pour remplacer mon reverse proxy perso qui était resté en haproxy, déplacé dans un container à la va vite..

    J'ai donc commencé à expérimenter traefik et ça semble faire le boulot. J'aime beaucoup le côté dynamique avec les labels sur les containers.

    Il remplit tous les rôles de mon haproxy :

    • offloading ssl
    • basic auth http pour certains backend
    • et puis voilà c'est tout en fait

    Autre avantage, il intègre la génération/renouvellement des certificats ssl ce qui va me permettre de virer un vieux script en bash (qui faisait ça très bien, mais au moins ce sera + clean)

    Seule contrainte, je me demande si je peux reverse vers un backend qui ne serait pas du docker. Peut être en mettant de la conf en dur.

    May 12, 2021 at 12:33:13 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?P8uckQ
    docker haproxy traefik
  • Welcome to cert-manager | cert-manager
    May 11, 2021 at 8:21:44 AM GMT+2 - permalink - archive.org - https://cert-manager.io/docs/
    cert docker k8s letsencrypt tls
  • thumbnail
    Configuring Docker to not use the 172.17.0.0 range - Server Fault
    Pour changer les subnets utilisés par les network bridge users

    # nano /etc/docker/daemon.json

    Add lines:

    {
      "default-address-pools":
      [
        {"base":"10.10.0.0/16","size":24}
      ]
    }
    April 12, 2021 at 2:07:53 PM GMT+2 * - permalink - archive.org - https://serverfault.com/questions/916941/configuring-docker-to-not-use-the-172-17-0-0-range
    docker
  • Creating Lambda container images - AWS Lambda

    Packaging docker pour lambda

    February 23, 2021 at 10:33:39 AM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
    aws docker lambda
  • thumbnail
    GitHub - containrrr/watchtower: A process for automating Docker container base image updates.

    un container qui va update les autres containers si une image plus récente a été trouvée (stop, rm, pull, recreate)
    Pratique sur serveur perso pour les choses qui tournent en latest
    Implémentation en Go, il y a le pendant python ici : https://github.com/pyouroboros/ouroboros

    April 11, 2020 at 11:32:56 AM GMT+2 - permalink - archive.org - https://github.com/containrrr/watchtower
    auto docker go python update
  • thumbnail
    avsm/docker-ssh-agent-forward: Forward SSH agent socket into a container
    July 30, 2019 at 8:26:21 AM GMT+2 - permalink - archive.org - https://github.com/avsm/docker-ssh-agent-forward
    docker mac mount ssh
  • Define a Command and Arguments for a Container - Kubernetes

    dans un Dockerfile : ENTRYPOINT + CMD
    chez k8s : command + args

    March 5, 2019 at 5:14:24 PM GMT+1 - permalink - archive.org - https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#define-a-command-and-arguments-when-you-create-a-pod
    cmd command docker entrypoint k8s
  • Introduction to environments and deployments | GitLab

    Je cherchais à déployer le même build sur un env de preprod et ensuite sur la prod si le build est ok
    Ce qui se fait très bien "à l'ancienne" avec Jenkins/Bamboo :

    • on a une étape de build qui va créé un artifact
    • et une étape de deploy completement indépendante qui permet de déployer un artifact qu'on choisit sur un env en particulier

    Je ne retrouvais pas cette logique dans les outils plus récents car le deploy est toujours lié au build donc je ne voyais pas comment faire..
    La clé est dans la possibilité de pouvoir arrêter un job, de le mettre en pause pour pouvoir le déclencher plus tard si on le souhaite
    Donc pour un commit push sur un master, le workflow va se déclencher...

    • tests, builds...
    • deploy sur preprod
    • deploy sur prod en HOLD

    Si on voit que tout est ok sur preprod, on peut venir resume le deploy prod ! on va utiliser le même build qu'on a testé sur la preprod

    C'est le même principe, on veut check la preprod avant de déployer la prod en utilisant le même build, mais implémenté différement

    L'équivalent chez circleci :
    https://circleci.com/blog/manual-job-approval-and-scheduled-workflow-runs/
    https://circleci.com/docs/2.0/workflows/#holding-a-workflow-for-a-manual-approval

    Et chez Jenkins (récent) :
    https://jenkins.io/doc/pipeline/tour/deployment/#asking-for-human-input-to-proceed

    February 27, 2019 at 10:29:44 PM GMT+1 * - permalink - archive.org - https://docs.gitlab.com/ee/ci/environments.html#manually-deploying-to-environments
    cicd docker
  • Performance tuning for volume mounts (shared filesystems) | Docker Documentation

    tweak volume pour perf docker sous mac

    February 12, 2019 at 11:09:00 AM GMT+1 - permalink - archive.org - https://docs.docker.com/docker-for-mac/osxfs-caching/
    docker mac volume
  • thumbnail
    Secrets Management within AWS ECS – Hacker Noon

    olded by https://docs.aws.amazon.com/fr_fr/AmazonECS/latest/developerguide/specifying-sensitive-data.html

    January 17, 2019 at 11:45:13 AM GMT+1 * - permalink - archive.org - https://hackernoon.com/secrets-management-within-aws-ecs-1b6975819ccd
    aws docker ecs secret ssm
  • Helm - The Kubernetes Package Manager
    January 11, 2019 at 1:57:26 PM GMT+1 - permalink - archive.org - https://helm.sh/
    bundle docker k8s package
  • CNAB: Cloud Native Application Bundles
    January 11, 2019 at 1:57:14 PM GMT+1 - permalink - archive.org - https://cnab.io/
    bundle docker package
  • thumbnail
    GitHub - just-containers/s6-overlay: s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
    December 24, 2018 at 9:12:46 AM GMT+1 - permalink - archive.org - https://github.com/just-containers/s6-overlay
    docker init pid1
  • Traefik

    /me découvre

    via itweb

    December 18, 2018 at 4:56:59 PM GMT+1 - permalink - archive.org - https://docs.traefik.io/
    docker proxy reverse
  • What is Amazon Elastic Container Service? - Amazon Elastic Container Service
    November 15, 2018 at 9:11:33 AM GMT+1 - permalink - archive.org - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
    aws docker ecs
  • dive/README.md at master · wagoodman/dive · GitHub
    October 28, 2018 at 5:05:15 PM GMT+1 - permalink - archive.org - https://github.com/wagoodman/dive/blob/master/README.md
    docker image tool
  • Docker Tips : access the Docker daemon via ssh – @lucjuggery – Medium

    not bad! better than unprotected socket access ;)

    October 25, 2018 at 8:50:54 AM GMT+2 - permalink - archive.org - https://medium.com/lucjuggery/docker-tips-access-the-docker-daemon-via-ssh-97cd6b44a53?mkt_tok=eyJpIjoiTmpZNE5HWXdOVFJtWkRWbCIsInQiOiI1b0Zsb1RkNk4rXC9qSWtyajFCN3RsSERRQytkSk0wRzZkQ3dRU3g0eXM0YUV3R3RWM1dpb3dqNXpYVjc4MUlNMmpcL1ZIeGdLbk1yQjZYZjNIbjczOTBLOUY4YlBsSUVQRVZwMUg5bGZnNlRHOXpTaFdhdkIydnhmTFd1V0JyRE50In0%3D
    docker remote ssh
  • Use the Device Mapper storage driver | Docker Documentation

    This host is running in loop-lvm mode, which is not supported on production systems. This is indicated by the fact that the Data loop file and a Metadata loop file are on files under /var/lib/docker/devicemapper. These are loopback-mounted sparse files. For production systems, see Configure direct-lvm mode for production.

    devicemapper supports 2 modes:
    loop-lvm (only for dev)
    direct-lvm (production ok)

    docker info

    August 6, 2018 at 9:16:10 AM GMT+2 * - permalink - archive.org - https://docs.docker.com/storage/storagedriver/device-mapper-driver/#configure-loop-lvm-mode-for-testing
    devicemapper docker loop storage
  • GitHub - genuinetools/reg: Docker registry v2 command line client.
    July 8, 2018 at 12:42:31 PM GMT+2 - permalink - archive.org - https://github.com/genuinetools/reg
    docker registry tools
  • Note: Containers on aws

    beanstalk : https://aws.amazon.com/fr/elasticbeanstalk/

    EKS : https://aws.amazon.com/eks/

    Fargate : https://aws.amazon.com/fargate/

    July 2, 2018 at 9:02:40 AM GMT+2 - permalink - archive.org - https://links.infomee.fr/?78xRRg
    amazon aws cicd container docker
  • Note: Install latest stable docker-compose

    INSTALL

    sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v

    UPDATE

    docker-compose -v ; sudo rm /usr/local/bin/docker-compose ; sudo curl -sL https://github.com/docker/compose/releases/download/$(curl -is https://github.com/docker/compose/releases/latest|grep Location|awk -F/ '{print $NF}'|grep -Po '[0-9.]+')/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose ; sudo chmod +x /usr/local/bin/docker-compose ; docker-compose -v

    June 27, 2018 at 9:23:02 AM GMT+2 * - permalink - archive.org - https://links.infomee.fr/?96fr1A
    compose docker install
  • Revisiting Docker and Jenkins | Riot Games Engineering
    June 18, 2018 at 3:47:53 PM GMT+2 - permalink - archive.org - https://engineering.riotgames.com/news/revisiting-docker-and-jenkins
    ci docker jenkins
  • Revisiting Docker and Jenkins | Riot Games Engineering
    June 18, 2018 at 3:47:53 PM GMT+2 - permalink - archive.org - https://engineering.riotgames.com/news/revisiting-docker-and-jenkins
    ci docker jenkins
  • app/README.md at master · docker/app · GitHub
    June 18, 2018 at 3:34:00 PM GMT+2 - permalink - archive.org - https://github.com/docker/app/blob/master/README.md
    docker
  • dotfiles/ecc at master · arnaudmm/dotfiles

    when you are bored doing docker exec -ti foo bash

    June 6, 2018 at 10:33:54 AM GMT+2 - permalink - archive.org - https://github.com/arnaudmm/dotfiles/blob/master/ecc
    docker
  • pms-docker/README.md at master · plexinc/pms-docker
    June 4, 2018 at 10:50:11 AM GMT+2 - permalink - archive.org - https://github.com/plexinc/pms-docker/blob/master/README.md
    docker plex
  • s6-overlay/README.md at master · just-containers/s6-overlay
    June 4, 2018 at 10:49:32 AM GMT+2 - permalink - archive.org - https://github.com/just-containers/s6-overlay/blob/master/README.md
    docker init s6
  • Note: docker port

    Pour binder par defaut sur 127.0.0.1
    /etc/docker/daemon.json → "ip": "127.0.0.1"

    via Doo

    May 17, 2018 at 4:15:05 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?bjo6gw
    docker network port
  • Note: docker clean

    docker system df
    docker system prune
    docker system prune --all
    docker volume prune

    May 14, 2018 at 11:09:07 AM GMT+2 - permalink - archive.org - https://links.infomee.fr/?9wYw4w
    clean df docker
  • Understanding how uid and gid work in Docker containers
    April 18, 2018 at 2:48:20 PM GMT+2 - permalink - archive.org - https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf
    docker gid uid
  • Note: Docker space disk

    My /var/lib/docker folder was non empty (12GB) event after big cleanup (containers, images, volumes..)

    It's a known issue with some layers not removed when you do docker rm -f (force)

    Solution : service docker stop; rm -rf /var/lib/docker/*; service docker start

    :-/

    January 5, 2018 at 3:25:27 PM GMT+1 * - permalink - archive.org - https://links.infomee.fr/?22DTwA
    docker
  • DevOps, Docker, and Empathy

    from ifttt pocket

    December 14, 2017 at 9:19:39 AM GMT+1 * - permalink - archive.org - http://jpetazzo.github.io/2017/10/31/devops-docker-empathy/
    devops docker
  • sysadvent: Day 9 - Using Kubernetes for multi-provider, multi-region batch jobs
    December 9, 2017 at 6:18:13 PM GMT+1 - permalink - archive.org - http://sysadvent.blogspot.fr/2017/12/day-9-using-kubernetes-for-multi.html
    aws docker k8s
  • docker-sync by EugenMayer
    December 9, 2017 at 6:14:39 PM GMT+1 - permalink - archive.org - http://docker-sync.io/
    dev docker mac perf
  • Using systemd to control the Docker daemon - Docker, Inc.

    The nice thing about the command above is that it shows a unified view of all options and takes into consideration any overrides that may have been applied.
    To change the value of an option, ExecStart in this case, do the following:

    [ec2-user@ip-10-0-46-113 ~]$ sudo systemctl edit docker

    This will create the necessary directory structure under /etc/systemd/system/docker.service.dand open an editor (using the default editor configured for the user) to the override file. Add the section below into the editor:

    [Service]
    ExecStart=
    ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock

    It was necessary to clear out ExecStart using ExecStart= before setting it to the override value. This is only required for some options and most options in the configuration file would not need to be cleared like this

    October 10, 2017 at 11:21:10 AM GMT+2 - permalink - archive.org - https://success.docker.com/KBase/Using_systemd_to_control_the_Docker_daemon
    docker systemd
  • 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
  • thumbnail
    Edit a file in-place in vim - Stack Overflow

    Comment perdre 30 min

    :set backupcopy=yes

    When you want to modify a file, you have two options, each with its benefits and drawbacks.

    You can overwrite the file in place. This does not use any extra space, and conserves the hard links, permissions and any other attribute beyond the content of the existing file. The major drawback of doing this is that if anything happens while the file is being written (the application crashes, or the power goes out), you end up with a partially written file.
    You can write the new version of the file to a new file with a different name, then move it into place. This uses more space and breaks hard links, and if you have write permissions on a file but not on the directory it contains, you can't do it at all. On the flip side, the old version of the file is atomically replaced by the new version, so at every point in time the file name points to a valid, complete version of the file.

    http://vimdoc.sourceforge.net/htmldoc/options.html#%27backup%27

    November 23, 2016 at 3:24:04 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/11043534/edit-a-file-in-place-in-vim
    docker file mount vim
  • Docker Build Container Pattern - Slashdeploy Blog

    docker run --rm -it -u $(id -u) -v "${PWD}:/data" -w /data ruby:2.3 \
    bundle package --all

    November 15, 2016 at 10:15:59 AM GMT+1 - permalink - archive.org - http://blog.slashdeploy.com/2016/11/07/docker-build-container-pattern/
    build docker
  • Dockerfile reference - Docker

    Note: Environment persistence can cause unexpected side effects. For example, setting ENV DEBIAN_FRONTEND noninteractive may confuse apt-get users on a Debian-based image. To set a value for a single command, use RUN <key>=<value> <command>.

    The environment variables set using ENV will persist when a container is run from the resulting image. You can view the values using docker inspect, and change them using docker run --env <key>=<value>.

    November 2, 2016 at 2:33:51 PM GMT+1 - permalink - archive.org - https://docs.docker.com/engine/reference/builder/#/env
    bestpractice docker
  • maven - How to build a docker container for a java app - Stack Overflow

    La deuxieme approche me semble mieux.. Deux étapes pour build seulement :

    git clone
    docker build

    Au lieu de :

    git clone
    mvn clean install
    docker build

    October 31, 2016 at 10:15:51 AM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/31696439/how-to-build-a-docker-container-for-a-java-app
    ci docker
  • 10 things to avoid in docker containers – Red Hat Developer Blog
    August 26, 2016 at 2:17:33 PM GMT+2 - permalink - archive.org - http://developers.redhat.com/blog/2016/02/24/10-things-to-avoid-in-docker-containers/
    docker
  • It’s The Future - CircleCI

    So I just need to split my simple CRUD app into 12 microservices, each with their own APIs which call each others’ APIs but handle failure resiliently, put them into Docker containers, launch a fleet of 8 machines which are Docker hosts running CoreOS, “orchestrate” them using a small Kubernetes cluster running etcd, figure out the “open questions” of networking and storage, and then I continuously deliver multiple redundant copies of each microservice to my fleet. Is that it?

    -Yes! Isn’t it glorious?

    I’m going back to Heroku.

    Flamewar started

    August 18, 2016 at 11:02:58 AM GMT+2 - permalink - archive.org - https://circleci.com/blog/its-the-future/
    docker future heroku
  • The beginners guide to Infrastructure Automation — Medium

    Encore un bon article qui explique où se situe Docker vis à vis de la CM

    Via cron weekly

    The beginners guide to Infrastructure Automation

    Coordinated Releases, Task Runners, Configuration Management, Immutable Infrastructure, Containers and Images explained for budding devs and ops.
    Coordinated Releases and Snowflake Servers

    Ah, those good old days when all servers were manually provisioned. An interactive shell was the most preferred methodology, and tmux/screen/shell scripting were the tools. A nice, quiet weekend would be planned for a deployment. SysAdmins, Developers and Testers would come in and be allotted responsibilities for various components that will be installed/upgraded in the day. Then the orchestra would begin. Login to each server, run commands, copy this here, symlink this there, compile packages, upgrade packages, ... Then have the Devs vet it and QAs test it. Rinse, lather, repeat for every component. A Conductor would direct this concert, waving a wand at different teams and coordinating the whole show over a large email thread and a conference hotline.

    If you’re lucky, the orchestra would be over in one take. But as systems got larger, deployments got longer, multiple re-takes were required, and we started having multiple shifts as well. And as people and systems grew, this whole thing started to break. A simple symbolic link missed here, a config file forgotten to be copied there, wrong version running over there, etc. Those were extremely difficult to spot. Out of 10 servers, how would you make sure all commands have been run flawlessly? Famous software crashes like the 2012 Stock trading disruption were caused by forgetting to copy the right code to one of 8 servers, causing losses of more than $400 million in a single day!

    Oh yeah, and if at all your server died, nobody has any record on how it was setup and modified across all these years, and how should it be setup again! If its lost, the whole setup is gone forever! These are the Snowflake Servers, and the orchestra is the Coordinated Release. They can happen independently too, i.e. you could setup a Snowflake server without a Coordinated release, and vice versa.
    Task Runners

    To counter this, people started writing their own scripts in various languages: Bash, Perl, Python, etc. These would automatically perform various deployment tasks so that you don’t miss out on anything. They came to be known as Task Runners, because it simply runs the same tasks a SysAdmin would do. But these scripts have two problems:

    They are not idempotent. Let’s say you have a command to create a user. Running it the first time would work. Second time it would bomb saying “User already exists”. Think about how many places this can happen — Moving files and folders, Checking out source code, Installing packages, etc. If you ran the same script twice, there is no guarantee it will run correctly. So if your script failed somewhere in the middle due to some legitimate reason, you now have more work to troubleshoot this from somewhere in the middle, rather than doing it from scratch manually.
    They are not portable. It is common for an application to use Ubuntu for development, CentOS on QA/UAT/etc and RHEL in production. On Debian it would be apt-get install, On RedHat/CentOS it would be yum, on some other machines it could be a manual compile. Even the gnu coreutils have subtle differences across platforms. And think about a mix of Linux and Unix servers too! How many conditions would you put in your scripts?

    Configuration Management

    Given the above problems, some fundamental thinking was required. What came up next was drastically different from Task runners.

    You would describe what is the End State your machine should be in. For example:

    I want user www to be present with nobody group
    I want directory /var/www to be present and owned by www
    I want OpenJDK 1.6 to be present

    Once you have described the End State in some DSL syntax, a configuration management tool will actually come up with the necessary tasks to get your system to that state. You can imagine it as a kind of “State Diffing” — comparing your server’s current state with the End State you want to be in, and making corrections wherever necessary. So if the user www doesn’t exist, it would create it. If the user existed but with a different group, it would simply change the group. And so on.

    This led to the rise of CFEngine, Puppet, Chef, Ansible, Salt and many more configuration management tools. Different tools use different DSLs to represent the End state: Chef uses Ruby, Ansible uses YML, Puppet uses its own language, etc. An example in Chef would be like this:

    user "www" do
    gid "nobody"
    end

    directory "/var/www" do
    mode "0755"
    owner "www"
    group "nobody"
    end

    package "openjdk-6-jdk" do
    version "1.6"
    end

    Advantages:

    Describe your Infrastructure as State
    Idempotency. When you run the above on a fresh machine, it will run tasks for every state. When you run it second time, it simply won’t do anything because the state is already met. So you can run this as many times as you want and results will be the same.
    Cross-platform support. Most in-built states (creating users, groups, directories, copying files, installing packages, etc) will automatically translate to correct tasks for the platform. e.g. “package” would translate to “apt-get install” in Debian/Ubuntu, “yum install” on CentOS, and so on.

    Disadvantages:

    SysAdmins used to running tasks approaching State management would write it thus:

    execute "apt-get update" do
    end
    execute "apt-add-repository ppa:nginx" do
    end
    execute "wget rvm.io | bash -s" do
    end

    Developers with little production system administration knowledge approaching State management would write it thus:

    Show their Ruby mastery with dozens of gems and cool shorthands

    Use Design patterns and anti-patterns

    Most of the cookbooks would be:

    include_recipe "blah"
    include_recipe "foo"
    include_recipe "bar"

    Nobody knows how the whole deployment works anymore

    A symptom I’ve usually seen in many projects. People learning a DSL and System Administration but end up becoming masters of none. You need to have a balance of system administration and development background to get this correct. If you are a traditional Sys Admin used to running tasks by hand, or a Developer who has not managed systems in production, you would make things worse than usual. In fact, I’ve seen automation code being larger than the application code in some projects!

    Immutable Infrastructure

    The switch from Task Runners to Configuration Management was a fundamental change from Tasks to State. The next leap needed another round of fundamental re-thinking.

    What if you always threw away the old server and started with a new server? And what if you were guaranteed that the new server will always be the exact same OS and version (say Ubuntu 14.04 LTS all the time)? Then you no longer need State management, because you are always starting with a clean slate. And there are no cross-platform issues, because you know for sure its always the same OS! You can start going back to Shell scripts assuming that its a fresh machine. Just create the user, create the directory, install stuff. No need to check for pre-existence or platform compatibility.

    A (bad) analogy would be the switch from Object-oriented programming to Functional programming: you no longer manipulate state, you just operate upon new copies, and the results are reliable. This gives rise to the Immutable Server. You no longer patch an existing server, instead for every deployment you tear it down and bring up a new server.

    With bare metal servers, this was expensive. But with the rise of VMs in the Data Center and Cloud, Immutable Servers became operationally possible. You could destroy the old VM, bring up a new one in a matter of minutes, and then run your configuration scripts to install everything.

    At the same time, development VMs like Vagrant also enabled fast Immutable infrastructure development. You would spin up a Vagrant VM, test all the configuration scripts, and then destroy the VM. Rinse and repeat to get your development workflow done.

    Advantages:

    No more patching a live machine. No more manipulating state manually in your infrastructure at all.
    No more need for “soft upgrades” and making sure that migration from one version to another is gracefully handled. You can worry less about historical assumptions and just start setting up the latest and greatest on the new server
    Enable zero-downtime deployments. Provision a new server and switch across to it immediately

    Disadvantages:

    Wasted time and bandwidth. If your setup involves running a large amount of tasks, then it would take a long time to bring up a new server.
    More complicated Service Discovery and integration issues as IP addresses change.
    You can no longer have any persistent data on the server, because the server will be thrown away anytime. But this can be good or bad depending upon the context.
    OK for application servers. But for persistent data like Database, NFS, etc Immutable servers are not easy.
    What if you need to run two applications on the same server for cost reasons? Infrastructure is all about budgets too.

    The Rise of Containers

    We already got deployment time down from a day in Ye Glorious Days to couple of minutes for an Immutable server. Except, now that we have this, we started to deploy more often. Instead of a day once in a blue moon, we are now doing 5–10 minute deployments dozens of times in the same day, and that adds up.

    Even if you didn’t actively deploy, your Load Balancer is spawning VMs up and down as per demand, and servers are getting annihilated. People started taking snapshots of their VMs to scale up faster, but these Whole Machine snapshots were humongous, painful to maintain, has vendor specific image formats and more.

    People tried to run VMs inside VMs to standardize things. But that didn’t work out — it was either too slow or impossible.

    Then people dug into the OS. Linux/Unix already allowed you to do the following:

    Manage a bunch of processes as a group and set CPU/Memory limits
    Have fakeroot (chroot) for some services so that they can operate upon their own independent root filesytem
    Create virtual ethernet devices (say for firewalls, bridging, etc)
    Mount file systems anywhere

    Put all these together: A group of processes with virtual ethernet, fakeroot and file system mounts, purely kernel-based with no runtime overhead, needs no special hardware requirements, and can be started/stopped as a whole in a matter of seconds! And well, you have a lightweight sandbox that can act as close as a VM!

    Enter Containers. People built on top of these OS facilities to make Containers. Unix had Zones since a long time ago, but with LXC containers became mainstream. LXC allowed you to create a container with a specific Linux distribution, and boot it in a matter of seconds. You could install anything that you want inside this new “machine” just as you would in a normal server. So now instead of creating and destroying VMs, people could create and destroy containers much faster.
    Container Images

    LXC bought containers mainstream, but it still didn’t solve repeatable builds and images. Immutability was something you had to bake in by yourself.

    Then came Docker. Docker bought repeatable container images to the forefront. With a bunch of instructions in a Dockerfile, you could copy your application inside, install all dependencies and package it up into an image. Think of the whole image as a Fat Application, with everything needed to run the application. Its like packaging up a whole server into a single executable.

    You could now ship this single image from Development to Production. All those servers don’t need to have anything installed in them except Docker, and that’s it. Everything they run is all inside containers. This in turn gave birth to lightweight OSes which only run Docker — CoreOS, Rancher, etc.
    State is not Dead, Yet.

    OK, so even if you do have Immutable Servers, you will still have different configurations for different servers like Dev, QA, UAT, etc. Like environment variables, caching services, shared file mounts, which version of the app to run in which environment, IP address of every different service in the application, etc.

    State is not dead in your infrastructure as a whole yet. But earlier, you had to worry about the state of installed software versions, symlinks and paths. With container images, you have reduced state into a simple bunch of environment variables.
    So what about DevOps?

    With Container Images comes the next paradigm shift:

    Developers (or Dev teams) are now squarely in charge of their Application’s Image. They make sure everything they need is installed on their container, and if given the necessary environment variables, the container would just run. Operations is now baked into their development.

    SysAdmins (or Ops teams) are no longer task runners for every deployment. They are instead building an infrastructure that enables developers to run their containers. They worry about what matters: Scalability, Performance, Resilience, Uptime, and so on of the infrastructure as a whole. They will have development cycles for building and maintaining this infrastructure.

    Developers are also doing Ops.
    Ops are also doing Development.
    July 17, 2016 at 9:28:03 PM GMT+2 - permalink - archive.org - https://medium.com/@rdsubhas/demystifying-devops-part-1-3745bf1da72e#.bvarz68oz
    cm devops docker puppet
  • Containers Vs. Config Management

    bonne description

    July 11, 2016 at 9:40:32 AM GMT+2 - permalink - archive.org - https://blog.containership.io/containers-vs-config-management-e64cbb744a94
    chef cm docker puppet
  • Deploy your OpenVPN server in 44 seconds

    Cool en plus c'est open source (docker)

    July 7, 2016 at 11:15:37 PM GMT+2 - permalink - archive.org - https://www.scaleway.com/imagehub/openvpn/
    docker openvpn
  • Docker Swarm Mode Walkthrough

    Génial ce qu'on peut faire avec Docker out of the box maintenant :-)

    July 4, 2016 at 9:12:56 PM GMT+2 - permalink - archive.org - https://www.youtube.com/watch?v=KC4Ad1DS8xU
    docker swarm twitter
  • Containers Vs. Config Management
    June 26, 2016 at 6:12:25 PM GMT+2 - permalink - archive.org - https://blog.containership.io/containers-vs-config-management-e64cbb744a94?gi=9f56020ac4e0
    12factor bestof docker
  • The Children's Illustrated Guide to Kubernetes
    June 19, 2016 at 7:52:41 PM GMT+2 - permalink - archive.org - https://deis.com/blog/2016/kubernetes-illustrated-guide/
    cronweekly docker k8s
  • GitLab Container Registry | GitLab

    via Doo

    May 24, 2016 at 11:43:24 AM GMT+2 - permalink - archive.org - https://about.gitlab.com/2016/05/23/gitlab-container-registry/
    ci deploy docker
  • 10 things to avoid in docker containers – Red Hat Developer Blog

    via skunnyk

    March 1, 2016 at 10:33:50 AM GMT+1 - permalink - archive.org - http://developerblog.redhat.com/2016/02/24/10-things-to-avoid-in-docker-containers/
    docker
  • Distribution packages considered insecure

    Via twitter

    February 15, 2016 at 8:28:33 AM GMT+1 - permalink - archive.org - https://statuscode.ch/2016/02/distribution-packages-considered-insecure/?utm_content=buffer587de&utm_medium=social
    arch docker package rolling security
  • Network-scoped alias

    merci docker

    February 9, 2016 at 10:11:21 AM GMT+1 - permalink - archive.org - https://docs.docker.com/engine/userguide/networking/work-with-networks/#network-scoped-alias:6a2956e9fcff0a6857d6d878fd3f4424
    docker
  • /ˈTræfɪk/

    Un lb en Go qui peut "surveiller" les backends comme Docker par exemple pour update sa conf

    January 21, 2016 at 4:00:53 PM GMT+1 - permalink - archive.org - https://traefik.github.io/
    docker go haproxy lb loadbalancer nginx
  • SUSE/Portus

    via VG

    December 3, 2015 at 4:08:59 PM GMT+1 - permalink - archive.org - https://github.com/SUSE/Portus
    docker registry
  • Work with network commands

    On the isolated_nw which was user defined, the Docker network feature updated the /etc/hosts with the proper name resolution. Inside of container2 it is possible to ping container3 by name.

    November 26, 2015 at 6:01:24 PM GMT+1 - permalink - archive.org - https://docs.docker.com/engine/userguide/networking/work-with-networks/
    docker network
  • Docker container networking

    La doc évolue vite au fur et à mesure des versions.. en la relisant j'ai appris plein de nouvelles choses

    November 26, 2015 at 5:50:45 PM GMT+1 - permalink - archive.org - https://docs.docker.com/engine/userguide/networking/dockernetworks/
    docker network
  • Three Solutions to Bi-directional Linking Problem in Docker Compose | Abdelrahman Hosny

    Cette solution semble etre un bon compromis quand on veut du lien bidirectionnel (ce qui n'est pas possible avec les links) :

    http://sgillis.github.io/posts/2015-03-23-docker-dns.html
    https://github.com/tonistiigi/dnsdock

    November 24, 2015 at 5:16:16 PM GMT+1 - permalink - archive.org - http://abdelrahmanhosny.com/2015/07/01/3-solutions-to-bi-directional-linking-problem-in-docker-compose/
    dns docker link
  • doger.io - wow such container
    October 7, 2015 at 2:15:03 PM GMT+2 - permalink - archive.org - http://doger.io/
    container docker linux lxc
  • thumbnail
    Containing your logical backups: mydumper in docker
    September 22, 2015 at 2:14:52 PM GMT+2 - permalink - archive.org - https://www.percona.com/blog/2015/09/21/containing-logical-backups-mydumper-docker/
    backup docker mysql
  • Using Docker to Build Debian Packages | via @codeship

    via Doo

    August 19, 2015 at 2:43:32 PM GMT+2 - permalink - archive.org - http://blog.codeship.com/using-docker-build-debian-packages/
    build deb docker
  • spotify/docker-gc

    via Doo

    August 7, 2015 at 10:01:19 AM GMT+2 - permalink - archive.org - https://github.com/spotify/docker-gc
    docker gc
  • boycott docker
    June 15, 2015 at 5:54:21 PM GMT+2 - permalink - archive.org - http://www.boycottdocker.org/
    docker
  • http://www.centurylinklabs.com/gracefully-stopping-docker-containers/
    May 18, 2015 at 4:24:27 PM GMT+2 - permalink - archive.org - http://http://www.centurylinklabs.com/gracefully-stopping-docker-containers/
    docker
  • Docker Without Docker

    via alk

    April 27, 2015 at 11:29:39 AM GMT+2 - permalink - archive.org - https://chimeracoder.github.io/docker-without-docker/#19
    docker
  • RancherOS | Rancher Labs
    April 21, 2015 at 2:52:43 PM GMT+2 - permalink - archive.org - http://rancher.com/rancher-os/
    distrib docker
  • CoreOS is Linux for Massive Server Deployments
    April 21, 2015 at 2:52:35 PM GMT+2 - permalink - archive.org - https://coreos.com/
    distrib docker
  • Next generation development with Docker and Fig
    January 27, 2015 at 2:13:31 PM GMT+1 - permalink - archive.org - http://blog.stxnext.com/posts/2015/01/development-with-docker-and-fig/
    docker fig
  • thumbnail
    Docker & Puppet for Application Management — and Sanity | Puppet Labs
    January 18, 2015 at 2:37:21 PM GMT+1 - permalink - archive.org - http://puppetlabs.com/blog/docker-and-puppet-for-application-management
    docker puppet
  • Elasticsearch, Logstash & Kibana with Docker | William DURAND
    January 18, 2015 at 2:33:05 PM GMT+1 - permalink - archive.org - http://williamdurand.fr/2014/12/17/elasticsearch-logstash-kibana-with-docker/
    docker elk
  • 24 random docker tips by Csaba Palfi
    January 18, 2015 at 2:30:51 PM GMT+1 - permalink - archive.org - http://csaba.palfi.me/random-docker-tips/
    docker
  • Attach a volume to a container while it is running

    via skunnyk

    January 14, 2015 at 10:58:55 AM GMT+1 - permalink - archive.org - http://jpetazzo.github.io/2015/01/13/docker-mount-dynamic-volumes/
    docker
  • abh1nav/cassandra Repository | Docker Hub Registry - Repositories of Docker Images

    docker <3

    January 13, 2015 at 10:44:19 AM GMT+1 - permalink - archive.org - https://registry.hub.docker.com/u/abh1nav/cassandra/
    cassandra docker
  • Docker Image Insecurity · Jonathan Rudenberg
    January 1, 2015 at 3:10:56 PM GMT+1 - permalink - archive.org - https://titanous.com/posts/docker-insecurity
    docker
  • How to Centralize Logs from Docker Containers -
    January 1, 2015 at 3:08:17 PM GMT+1 - permalink - archive.org - https://www.loggly.com/blog/centralize-logs-docker-containers/
    docker log
  • Docker and DevOps: Why it Matters - Application Performance Monitoring Blog from AppDynamics
    January 1, 2015 at 3:07:58 PM GMT+1 - permalink - archive.org - http://blog.appdynamics.com/devops/docker-and-devops-why-it-matters/
    docker
  • Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni - YouTube

    avec les slides :
    http://fr.slideshare.net/jpetazzo/introduction-to-docker-december-2014-tour-de-france-edition

    http://fr.slideshare.net/jpetazzo/introduction-to-docker-december-2014-tour-de-france-bordeaux-special-edition

    December 20, 2014 at 2:48:52 PM GMT+1 - permalink - archive.org - https://www.youtube.com/watch?v=bXSC3-mrgWA
    conf docker
Links per page: 20 50 100
◄Older
page 1 / 2
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation