linuxkit getty getting stuck linuxkit getty getting stuck docker docker

linuxkit getty getting stuck


The documentation is a little bit unclear on this: binds doesn't add the mount points, but replaces them. The documentation update is pending, but to solve your particular problem, just please put all the existing binds into the .yml (an example below shows how to add the custom aliases to getty):

services:  - name: getty    image: linuxkit/getty:bf6872ce0a9f3ab519b3e502cc41ba3958bda2a6    env:      - INSECURE=true    binds:      - /etc/resolv.conf:/etc/resolv.conf      - /run:/run      - /tmp:/tmp      - /etc:/hostroot/etc      - /usr/bin/ctr:/usr/bin/ctr      - /usr/bin/runc:/usr/bin/runc      - /containers:/containers      - /var/log:/var/log      - /dev:/dev      - /sys:/sys      - /etc/profile.d/aliases.sh:/etc/profile.d/aliases.shfiles:  - path: etc/profile.d/aliases.sh    contents: |      alias c='clear'