Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Stavros Stavridis
    I want to learn docker which is the best way to start? Tutorial, etc...
    Justin Reeves
    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
    Oh host.docker.internal seems to work
    Justin Reeves
    Haley In the following named volumes definitions:
          - 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).

    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?

    Haley yes. That's what I did in the end/.
    for the new docker hub pricing system .. what does a paralell docekr pull mean
    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
    Jaafar MADIH
    java.lang.IllegalStateException: No instances found of configserver (CONFIGSERVER)
    Need your help, it work perfectly without docker.. Any little help plz ?
    container_name: config volumes:
      - ./config-data:/var/config-data
      - JAVA_OPTS=
      - registry
      - "8888:8888"
    i'm using the latest feature of spring
    FixFromDarkness Is ports in docker ps accessible from global network if I blocked them in ufw?
    FixFromDarkness Port from docker ps is closed for localhost! How can I fix it?
    Kobi Bar Hanin
    Hi! I’ve built an interactive git cli - igit. Check it out: https://github.com/kobibarhanin/igit to install: pip install igit
    mxvin ...
    I have installed VirtualBox but not able to run
    OS : ubuntu
    Command : docker-machine create default
    Error : Running pre-create checks...
    Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
    Jamey Hart
    @sushant.co19_gitlab This sounds like the issue raised here: docker/machine#4590. The suggested fix appears to be to change the case of VBoxManage. Hope that helps.

    I am trying to fix this from the last 3 days and not able to fix
    Command------ docker run -ti -p -e POSTGRES_HOST_AUTH_METHOD=trust -e LC_COLLATE=en_US.UTF8 -e LC_CTYPE=en_US.UTF8 --rm postgres:11 -c log_statement=all

    Error------ docker: Error response from daemon: driver failed programming external connectivity on endpoint trusting_feistel (c76e7077bd6e012a2282670506334a0aef50695489dc20a1992e00e205f0954c): Error starting userland proxy: listen tcp bind: address already in use.

    OS: Ubuntu
    Haley something is using the port already.
    Davide Pugliese
    Has anyone got this issue:
    Does it mean we need to install it from binaries now?
    Davide Pugliese
    Josh Reynolds
    @sushant.co19_gitlab This means the port you are trying to bind to on your actual machine is either running a postgres locally or you already have a dockerized postgres running. you could try netstat -tanp to see what's listening on the port.
    thanks @jshreynolds . I solved it .

    I'm trying to run Docker inside Docker and mounting the /var/run/docker.sock socket. The socket gets the following permissions and ownership inside the container:

    srwxr-xr-x 1 root root 0 Nov  8 17:20 /var/run/docker.sock

    meaning it can't be accessed from inside the container with regular user privileges.
    What's the best way to resolve this?

    Tango Tan
    sudo chown root:youxxx /var/run/docker.sock
    youxxx -> docker
    try to do it...
    hmm. The socket is not there at container build time when I could still switch between root and regular user. The socket only available at container run time. And at that point the container is being run as a regular user.
    I could configure sudo at container build time to allow user X to run the command you suggested.
    Are there any other ways to tackle this?
    Can I e.g. specify permissions for individual mounts somehow when starting the container?
    I am facing performance issues with django +gunicorn+nginx
    I am getting 499 and 502 error
    100 Users is hitting one url at same time
    Anyone can help me
    I am using aws ebs t2.xlarge instance
    Roberto Di Lillo
    Hi Guys.
    I have a dockerized node api, and I'd like to add a cache layer with redis.
    I just completed the implementation within the node app but I'm realizing that this way the cache will be striclty linked with each container, is that right?
    What's the common practce? should i add a cache layer in a different container and configure the api image to connect to that container to check if the cache contains anything?
    alephu5 Both ways are just as easy; if you use docker-compose you can use the name of the redis service as the URL. The advantage of using two separate containers is that you can put the containers on separate nodes if you want.