4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:docker — newest first
  • GoogleContainerTools/distroless: 🥑 Language focused docker images, minus the operating system.
    April 7, 2023 - permalink - https://github.com/GoogleContainerTools/distroless
    distroless docker image
  • dagger.io
    March 8, 2023 - permalink - https://dagger.io/
    cd ci docker
  • GitHub - sigstore/cosign: Container Signing
    September 12, 2021 - permalink - https://github.com/sigstore/cosign
    docker sign
  • ttl.sh | An anonymous & ephemeral (and free) Docker image registry
    September 12, 2021 - permalink - https://ttl.sh/
    docker registry
  • Creating the Perfect Python Dockerfile | by Luis Sena | May, 2021 | Medium
    May 21, 2021 - permalink - 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 - permalink - https://links.infomee.fr/shaare/P8uckQ
    docker haproxy traefik
  • Welcome to cert-manager | cert-manager
    May 11, 2021 - permalink - https://cert-manager.io/docs/
    cert docker k8s letsencrypt tls
  • 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 - permalink - https://serverfault.com/questions/916941/configuring-docker-to-not-use-the-172-17-0-0-range
    docker nomarkdown
  • Creating Lambda container images - AWS Lambda

    Packaging docker pour lambda

    February 23, 2021 - permalink - https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
    aws docker lambda
  • 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 - permalink - https://github.com/containrrr/watchtower
    auto docker go python update
  • avsm/docker-ssh-agent-forward: Forward SSH agent socket into a container
    July 30, 2019 - permalink - 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 - permalink - 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 - permalink - 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 - permalink - https://docs.docker.com/docker-for-mac/osxfs-caching/
    docker mac volume
  • 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 - permalink - https://hackernoon.com/secrets-management-within-aws-ecs-1b6975819ccd
    aws docker ecs secret ssm
  • Helm - The Kubernetes Package Manager
    January 11, 2019 - permalink - https://helm.sh/
    bundle docker k8s package
  • CNAB: Cloud Native Application Bundles
    January 11, 2019 - permalink - https://cnab.io/
    bundle docker package
  • GitHub - just-containers/s6-overlay: s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
    December 24, 2018 - permalink - https://github.com/just-containers/s6-overlay
    docker init pid1
  • Traefik

    /me découvre

    via itweb

    December 18, 2018 - permalink - https://docs.traefik.io/
    docker proxy reverse
  • What is Amazon Elastic Container Service? - Amazon Elastic Container Service
    November 15, 2018 - permalink - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
    aws docker ecs
  • dive/README.md at master · wagoodman/dive · GitHub
    October 28, 2018 - permalink - 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 - permalink - 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 - permalink - 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 - permalink - 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 - permalink - https://links.infomee.fr/shaare/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 - permalink - https://links.infomee.fr/shaare/96fr1A
    compose docker install
  • Revisiting Docker and Jenkins | Riot Games Engineering
    June 18, 2018 - permalink - https://engineering.riotgames.com/news/revisiting-docker-and-jenkins
    ci docker jenkins
  • app/README.md at master · docker/app · GitHub
    June 18, 2018 - permalink - 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 - permalink - https://github.com/arnaudmm/dotfiles/blob/master/ecc
    docker
  • pms-docker/README.md at master · plexinc/pms-docker
    June 4, 2018 - permalink - 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 - permalink - 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 - permalink - https://links.infomee.fr/shaare/bjo6gw
    docker network port
  • Note: docker clean

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

    May 14, 2018 - permalink - https://links.infomee.fr/shaare/9wYw4w
    clean df docker
  • Understanding how uid and gid work in Docker containers
    April 18, 2018 - permalink - 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 - permalink - https://links.infomee.fr/shaare/22DTwA
    docker
  • DevOps, Docker, and Empathy

    from ifttt pocket

    December 14, 2017 - permalink - 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 - permalink - http://sysadvent.blogspot.fr/2017/12/day-9-using-kubernetes-for-multi.html
    aws docker k8s
  • docker-sync by EugenMayer
    December 9, 2017 - permalink - 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 - permalink - https://success.docker.com/KBase/Using_systemd_to_control_the_Docker_daemon
    docker systemd
  • 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 - permalink - https://github.com/moby/moby/issues/3465#issuecomment-313549657
    docker
  • jpetazzo/critmux: Docker + CRIU + tmux = magic!
    October 5, 2017 - permalink - 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 - permalink - https://hub.docker.com/_/php/
    docker php
  • 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 - permalink - 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 - permalink - https://medium.com/@rothgar/how-to-debug-a-running-docker-container-from-a-separate-container-983f11740dc6
    debug docker
  • 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 - permalink - http://symfony.com/doc/2.7/configuration/external_parameters.html
    docker env php symfony
  • User-guided caching in Docker for Mac - Docker Blog

    Mieux vaut ĂŞtre sous GNU/Linux

    June 27, 2017 - permalink - https://blog.docker.com/2017/05/user-guided-caching-in-docker-for-mac/
    docker
  • Configure logging drivers - Docker Documentation

    Logging option

    April 20, 2017 - permalink - https://docs.docker.com/engine/admin/logging/overview/#syslog
    docker log
  • Containers and docker | Consolia
    April 2, 2017 - permalink - https://consolia-comic.com/comics/containers-and-docker
    bd comic docker
  • willfarrell/crontab - Docker Hub

    alternative to ofelia

    March 23, 2017 - permalink - https://hub.docker.com/r/willfarrell/crontab/
    cron docker
  • Jessie Frazelle's Blog: Docker Containers on the Desktop
    March 16, 2017 - permalink - https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
    app crhome desktop docker gui skype
â–Ľ Load 50 more