Tag: ubuntu

How to configure docker for multiple user groups (sudo and non-sudo) with copy/commit restrictions?

I am setting up a GPU server wherein students can login via ssh and run tasks on GPU. The student accounts do not have administrative rights. However, once they are added to the docker group, they can have access to the docker images and containers that are currently being used by the administrative accounts. Is […]

sudo command not found after trying to use docker without sudo

Hello everyone & happy new year! I’m currently discovering docker. In order to avoid typing sudo with each command, I’ve followed the instructions on the manual page: https://docs.docker.com/engine/installation/linux/ubuntulinux/ Here are the commands I’ve used: $ sudo groupadd docker (they said that the “docker” group already exists) $ sudo usermod -aG docker $USER Not only I […]

error when running a compiled golang script

I use github.com/sideshow/apns2 of specified revision in my project to send IOS push notifications. The go 1.7.4 is inside of a docker container and I have compiled the app there and pulled the binary to the host machine. When I run the binary on the host it throws the next error: Error Message: Post https://api.push.apple.com/3/device/{device_token}: […]

nginx doesn't forward to django app in docker-compose in ubuntu but it all works in docker-machine in Mac

I have a django backend where I use docker-compose to deploy. This django application uses a nginx proxy in the front. When I deploy it in a docker-machine and I go to the docker-machine ip I am redirected to the django site properly. But when i deploy it in a ubuntu machine on docker, when […]

Running a Docker Cloud Node on Windows

I was just wondering if anyone has sucessfully got a Docker Cloud node running on windows either Docker Container or Bash on Ubuntu on Windows. I am currently using DockerToolbox if that would change the implementation of it. Finally, windows firewall is currently turned off. What have I tried? Running Ubuntu latest image, apt-get update-ing, […]

non-loading with www dir, nginx, nette – set nginx path?

I installed docker and downloaded zip archive with docker-compose from generator (http://phpdocker.io/generator). Do you know what this page is? This zip archive is working on my Windows 10 Pro, but on my laptop with Ubuntu 16.04 it crashes. It doesn’t load css, js or images in www dir. phpdocker/nginx/nginx.conf server { listen 80 default; client_max_body_size […]

Docker: unable to execute the mount command inside an ubuntu 16.10 container [duplicate]

This question already has an answer here: How do I mount –bind inside a Docker container? 1 answer

Trouble using AUFS driver in docker with Ubuntu

I am trying to install and configure docker and having issues switching from the default overlay2 storage driver to the aufs driver. I am using Ubuntu 16.04 LTS on a AWS EC2 instance. I install docker using this digital ocean guide, and when I type sudo docker info I can see that it is using […]

Configuring the network interface's index of a Docker container

I’m using Docker 1.13.0 on Ubuntu 16.04. (which runs in a VirtualBox VM) When running a ubuntu:1604 container, I get the following information: (in the container, after installing net-tools and iproute2) root@25e5d44e7574:/# cat /sys/class/net/eth0/ifindex 78 root@25e5d44e7574:/# ip link show eth0 78: eth0@if79: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default link/ether 02:42:ac:11:00:04 […]

Java process inside docker is consuming more memory than the specified Xmx limit

Im running a java process inside a docker. I have set the xms(388m) and xmx(388m). Sometime after the application is started, the memory consumption of the container exceeds and reaches most ~host memory size and the container gets killed. When i connect to the java process using jprofiler i see that the heap is less […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.