Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kristoff - on1arf
    @krbonne:gnuradio.org
    [m]
    Hi all,
    I have an 'interesting' problem:
    Setup is this:
    • two docker-servers, both with their own IP-address
    • VRRP (virtual router) providing floating 'Virtual IP' address
    • on both servers, a container running 'tftpd' (tftp-daemon)
    Problem is the TFTP process:
    -> incomming UDP/69 packet from client to server to initiate the TFTP
    -> additional UDP session is set up (on a different source and destination port) from the server to the client
    in our setup:
    • client sends UDP/69 to Virtual IP-address, which arrives at on the docker containers
    • server sets up UDP session to the client, .. using the PHYSICAL IP-address of the docker server
    kristoff - on1arf
    @krbonne:gnuradio.org
    [m]
    so the client says 'I'm setting up a TFTP to one ip-address, and get a reverse TFTP session from a different IP-address' and ignores it
    so ... question. .. if a docker-host has two ip-addresses on an ethernet interface, can you tell it to use the secundairy IP-address for the outgoing NAT-sessions by (one or all) containers, and not the primary?
    kristoff - on1arf
    @krbonne:gnuradio.org
    [m]
    :point_up: Edit: Problem is the TFTP process:
    -> incoming UDP/69 packet from client to server to initiate the TFTP
    -> additional UDP session is set up (on a different source and destination port) from the server to the client
    gaurav
    @mgourab:matrix.org
    [m]

    hey guys, I created the dockerfile which I want to push it as an image to the gitlab registry
    but at the time of docker login, I get a warning like this:

    WARNING! Your password will be stored unencrypted in ~/.docker/config.json.
    Configure a credential helper to remove this warning. See
    https://docs.docker.com/engine/reference/commandline/login/#credentials-store
    
    Login Succeeded

    what should I do?
    some people have written this as a solution:

    Your only workaround would be to install docker-credential-pass in your home directory so that Docker will use that instead of docker-credential-secretservice. docker-credential-pass does not require a GUI.

    please advise, what I should do now

    gaurav
    @mgourab:matrix.org
    [m]
    please advise
    gaurav
    @mgourab:matrix.org
    [m]
    on windows 10 docker desktop, where is the docker.sock file present?
    flyingCodeMonkeys
    @flyingCodeMonkeys

    Hi guys i am having issues trying to run docker - not sure what the issue is
    `
    ./gradlew docker

    FAILURE: Build failed with an exception.

    • What went wrong:
      A problem occurred configuring root project 'gradle-docker-example'.

      Illegal null value provided in this collection: [inspect, --format={{.State.Running}}, null]

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org
      Here is my gradle build:
      plugins {

        id "com.palantir.docker" version "0.30.0"
        id "com.palantir.docker-run" version "0.30.0"

      }

    version "0.1.0"

    docker{
    name "${project.name}:${project.version}"
    files "springbootify.jar"
    }
    dockerfile
    FROM openjdk:12-jdk-alpine

    COPY springbootify.jar springbootify.jar

    ENTRYPOINT ["java", "-jar", "springbootify.jar"]
    `

    flyingCodeMonkeys
    @flyingCodeMonkeys
    can anyone here help with the docker / gradle issue i am facing?
    node.js.developers.kh
    @nodejsdeveloperskh

    Hi all, I have a very bad problem with docker and it made me mad. my Dockerfile can not read the .env file.

    my repo simulate it: https://github.com/nodejsdeveloperskh/docker/tree/docker-compose/docker-compose-files/mongodb-dockerfile-compose

    Pikachu
    @zengqua
    Hi guys, is there a good way to run a GUI application in a docker container? Windows、MacOS or Linux
    1 reply
    Salathiel Genèse
    @SalathielGenese
    No
    Docker isn't design around UI concerns
    Nonetheless, you can still run GUI through SSH just like you do on Linux - Linux machine
    That said, I did it only once, years ago (2014), with a friend, just for fun (I mean remote GUI access)
    So I know it is possible with Docker... And more than that, I can't say.
    And I'm not sure that's something desirable
    For containerized GUI, I may consider snap (by canonical) or QUEMU or KVM !? (They seem to address just that)
    I said seem, I may be wrong... Not 100% into those tools
    Miko Suria
    @jsuria
    hi
    I'm relatively new to docker used in warden...
    has anyone been having issues with creating a php-fpm container using warden env up?
    Haley
    @neo:shdw.fr
    [m]
    I don't even know what "warden" is :}
    Miko Suria
    @jsuria
    oh...it's a CLI tool that uses ("orchestrates") how docker creates containers
    Haley
    @neo:shdw.fr
    [m]
    Ah. Ok. like docker-compose .
    Miko Suria
    @jsuria
    it uses docker-compose, so yes
    Haley
    @neo:shdw.fr
    [m]
    Well, I had used it back in time (before going to kubernetes) and had several php-fpm sites running in it. So it works
    (docker-compose that is, and I set these up myself).
    Miko Suria
    @jsuria
    hmm ok...
    I've been getting this "bad format for add-host" error everytime I try to create a container
    on docker for desktop (Mac)
    Haley
    @neo:shdw.fr
    [m]
    Well, no. There I can't really help. 100% linuxer here. no Mac, No windows. All linux workstations.
    Miko Suria
    @jsuria
    oh
    thanks anyway :D
    node.js.developers.kh
    @nodejsdeveloperskh

    Hi all, I have a very bad problem with docker and it made me mad. my Dockerfile can not read the .env file.

    my repo simulate it: https://github.com/nodejsdeveloperskh/docker/tree/docker-compose/docker-compose-files/mongodb-dockerfile-compose

    @all this i have hard times with docker. please help me :sob:

    Salathiel Genèse
    @SalathielGenese
    If you want .env from your host to your image, do COPY .env /path/to/target
    Or ADD .env /path/to/target
    If you have .env and rely on docker-compose for loading the .env file...
    First, note that you won't have them as ARG (i.e during image build), only at container run time
    node.js.developers.kh
    @nodejsdeveloperskh

    If you have .env and rely on docker-compose for loading the .env file...

    I have it. but Dockerfile can not read the defined envs from it automatically.

    Salathiel Genèse
    @SalathielGenese
    Second, with Docker Compose, except you are using env_file option, you will have to map/substitute your environment variables manually...
    services:
      postgres:
        environment:
        - ENV_VAR=${ENV_VAR}
    28 replies
    Last but not least, you may want to consider volumes... Even more so if you excluded .env in .dockerignore
    When having a .env file, you need to load its content into your shell/console-environment
    With JS (NodeJS) app, I use the env-cmd package from NPM
    Salathiel Genèse
    @SalathielGenese
    With C#/.NET, I use dotenv
    I don't use .env with Java as I most use Java with Spring which has has properties files and little different ways of handling conf
    But the idea is that