Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Yosi
    @yosiasz
    Is docker running on some hypervisor server or locally on your laptop/desktop
    DoraRajappan
    @DoraRajappan
    For now its running on my laptop... but it will be on some hypervidor server later..
    sNinja
    @sNinja17_twitter
    Hi, where i can find good document with example for docker storage things ? which one is better , manage persistant storage by docker volume or by mount to seprate path instead it goes to /var/lib/docker/volumes ?
    喵喵喵
    @NiuziyuanPy
    [graphdriver] prior storage driver overlay2 failed: driver not supported
    help me
    matrixbot
    @matrixbot

    Phase > <@gitter_niuziyuanpy:matrix.org> [graphdriver] prior storage driver overlay2 failed: driver not supported

    If I remember correctly, I got this after an upgrade of docker. Luckily, thx to the upgrade, they were no container needed on the machine. Thus, I moved the content of /var/lib/docker to somewhere else. A reboot of the docker daemon later, the daemon started correctly. Be careful, it had lost all its images.

    喵喵喵
    @NiuziyuanPy
    @matrixbot I don't understand
    matrixbot
    @matrixbot
    Haley The filesystem format is not the same (the way the files/layers are saved under /var/lib/docker.).
    Haley Only way to cope with that, is:
    Haley 1. Before the upgrade of the OS/Docker version, save all layers/images you need as tar files using the save command.
    Haley 2. upgrade the OS, but remove docker
    Haley 3. delete /var/lib/docker
    Haley 4. install docker again (new version). make sure it runs.
    Haley 5. Import the saved images
    喵喵喵
    @NiuziyuanPy
    thank you
    matrixbot
    @matrixbot
    Haley had that when moving from old debian to debian 9 .. What a pain it was :}
    matrixbot
    @matrixbot
    Phase It's either an update of the OS or of docker.
    喵喵喵
    @NiuziyuanPy
    docker update
    matrixbot
    @matrixbot
    Phase Is it working now? What helped?
    matrixbot
    @matrixbot
    Haley It is docker update. With the new debian version came a new docker version which changed the default filesystem overlay format.
    matrixbot
    @matrixbot

    Phase > <@neo:solsys.org> It is docker update. With the new debian version came a new docker version which changed the default filesystem overlay format.

    I had the same issue also it's just the person ask for help and then disappear... Not a big fan of this behavior.

    matrixbot
    @matrixbot
    Haley same.
    Haley :}
    matrixbot
    @matrixbot
    Phase * I had the same issue also it's just the person asks for help and then disappears... Not a big fan of this behavior.
    喵喵喵
    @NiuziyuanPy
    Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain: iptables failed: iptables --wait -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
    QAQ
    matrixbot
    @matrixbot
    Phase What means QAQ?
    Phase I never had this issue to create the DOCKER chain...
    Phase Can you do it by hand? With root user? The command line it gives looks valid. I would try a:
    sudo iptables -t nat -N DOCKER
    Karbal
    @karbal

    Hello
    i create a dockerfile based of node

    FROM node:12.18.1
    RUN mkdir /usr/local/src/app \
        && mkdir /usr/local/src/app/node_modules \
        && chown node /usr/local/src/app \
        && chown node /usr/local/src/app/node_modules
    WORKDIR /usr/local/src/app
    COPY app-scripts /usr/local/src/app-scripts
    COPY package.json .
    COPY package-lock.json .
    RUN npm -v
    CMD [ "node" ]

    I wanted to leave it installable in a docker-composes file with the following execution

    api:
        image: my-image-node:0.0.1
        build:
          context: .
          dockerfile: Dockerfile.dev
        command: npm install && npm run start:dev
        environment:
            NODE_ENV: development
          BUILD_ENV: development

    when i launch the server i got this error id: 'npm': no such user
    is there someone who can help me? Thanks

    Tanul
    @smartaquarius10
    Hello, can we specify this condition in nginx.conf for header validation. I need to read value from a file
    if($http_authorization != /path/to/file)
    matrixbot
    @matrixbot
    Phase Karbal (Gitter): The question is what is done with your command. In those cases, I would try to see what is the entrypoint (with docker inspect <image name>) and edit it to understand what is done. I don't know the image node :)
    1 reply
    Krishna Kishore Reddy Balam
    @kkrbalam
    go 6
    Stavros Stavridis
    @sstavridis
    I want to learn docker which is the best way to start? Tutorial, etc...
    Justin Reeves
    @justinallenreeves
    Evening all. I'm testing something locally, running some live code on my host and need a container running some services to be able to respond to it
    https://docs.docker.com/network/host/ sounds appropriate but --network host apparently isn't supported on my development OS (mac)
    is there a way to figure this out? I can't take the live codebase solely offline either as it's chatting to services I'm currently exposed to over VPN, so it'd be lovely if everyone could chat over my host for now
    Justin Reeves
    @justinallenreeves
    Oh host.docker.internal seems to work
    Justin Reeves
    @justinallenreeves
    success
    matrixbot
    @matrixbot
    Haley In the following named volumes definitions:
        volumes:
          - phobos-static:/app/site/static
          - phobos-files:/app/files
    Haley How can I define the location on the host. I want it to go to /var/nfs/phobos-static and /var/nfs/phobos-files
    Haley any idea? (this is, using a docker-compose file).
    matrixbot
    @matrixbot

    mxvin > <@neo:solsys.org> How can I define the location on the host. I want it to go to /var/nfs/phobos-static and /var/nfs/phobos-files

    What's your problem? You can Just use that dir directly right?

    matrixbot
    @matrixbot
    Haley yes. That's what I did in the end/.
    Buamod
    @Ibuamod_twitter
    for the new docker hub pricing system .. what does a paralell docekr pull mean
    matrixbot
    @matrixbot
    Meliodas hello everyone,
    does anyone know how to give FPM root access inside docker and fix these error notices? I am trying to deploy my own privatebin
    Meliodas * hello everyone,
    does anyone know how to give FPM root access inside docker and fix these error notices? I am trying to deploy my own privatebin
    https://privatebin.net/?63f6070e457c52ae#C8dsrrh6Ae9WK7cVRd7SiMoXqtWEmgdGXqzk9esu5MbV
    Jaafar MADIH
    @Jmadih
    java.lang.IllegalStateException: No instances found of configserver (CONFIGSERVER)
    Need your help, it work perfectly without docker.. Any little help plz ?
    config:
    container_name: config volumes:
      - ./config-data:/var/config-data
    environment:
      - JAVA_OPTS=
        -DEUREKA_SERVER=http://registry:8761/eureka
        -Dspring.cloud.config.server.native.searchLocations=/var/config-data
    depends_on:
      - registry
    ports:
      - "8888:8888"
    i'm using the latest feature of spring