The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
7 views

Best practice to separate customers database & back-end

I'm developing a company that monitor emails, and based on the contents update a database & display the results in a web platform. I'm using Apache (web), Haraka (mails), Parse (back-end) & ...
0
votes
0answers
12 views

Automate the LXD configuration interactive setup?

I realize lxd init has an interactive setup for networking, etc. I'm looking to automate some VM's running LXD and was wondering if there is a nice CLI command that documents this configuration as a ...
0
votes
1answer
17 views

Docker : container by app with LAMP included or LAMP container only?

I have server with 20/30 sites to hosts and I would like to use Docker containers for scalability, maintenability and security. After few searches, I found 2 approaches : one container per ...
0
votes
1answer
19 views

Can not start a Docker container

I Built an image using flask, nginx and uwsgi. FROM ubuntu:14.04 MAINTAINER Ali Mezgani <xxxxxxxxx@gmail.com> RUN apt-get update && apt-get -y install python python-dev python-pip RUN ...
0
votes
0answers
17 views

How do I get host's systemd journal to see any systemd-nspawn container's systemd journal?

I have sshd listening on a variety of ports in variety of containers. There's a fail2ban instance deployed on the host. I would like the host's fail2ban instance to be able to follow all container ...
0
votes
0answers
22 views

replicate lxd bridge in /etc/network/interfaces and dnsmasq

I have a Ubuntu 16.04 server and default LXD configuration. Typically, when an image comes up, this happens: eno1 Link encap:Ethernet HWaddr b8:ae:ed:ea:69:41 inet addr:192.168.0.3 ...
0
votes
1answer
54 views

resolvconf coupled with dnsmasq and lxd

Q: How do I programmatically add a persistent resolvconf entry for my lxd based dnsmasq? I have a very base installation of Ubuntu 16.04 server. I have installed and configured lxd and created a ...
0
votes
0answers
6 views

Shorewall : how do I DNAT requests from LXC container back to same LXC container?

I've got a few LXC containers running on a host. I'm using Shorewall to handle configuration of FW on the host, as well as DNAT rules. Let's say I've got a MySQL server running on with IP address 10....
1
vote
1answer
19 views

Upgrading Debian Squeeze with OpenVZ to Debian 7/8 with LXC

I have a few servers which are running Debian 6 (Squeeze) which uses OpenVZ to run containers. The containers are some Debian 6 and some Debian 7. Squeeze was the last version of Debian to support ...
0
votes
1answer
34 views

Traffic from within Docker containers routing incorrectly— traffic from Docker host routes correctly

I'm seeing a weird problem where traffic originating from within a Docker container located on a VM in the Google Cloud in europe-west1 and destined for a UK company based in Amazon's Cloudfront is ...
1
vote
1answer
163 views

LXD 2.0 on Debian 8.4

I'm running Debian 8.4 and would like to set-up recently released LXD 2.0. Is this feasible, or should I stick with LXC? It seems all focus is on using LXD with Ubuntu.
0
votes
1answer
59 views

How to monitor docker container restarting behavior?

currently I'm hosting several containers using Docker and realized that some containers seem to keep restarting by themself. When using the command, docker ps -a, I saw the column status is always ...
1
vote
1answer
85 views

Howto expose port in docker container

I’ve run a web service in a docker container on a custom port (8080). Here, I’m trying to run a container, exposing the relevant container’s port (as seen here), but the no avail. docker run -p 127.0....
0
votes
0answers
38 views

MySQL server is unreachable from OpenVZ container

Writing out of despair. Yesterday, as usual and having done this for thousands of times before, I'd installed MySQL server in the Head Node for using it from the OpenVZ container. I've created user, ...
0
votes
1answer
118 views

no network in nspawn container

I'm having an issue with networking in a systemd nspawn container. I have enabled the -n / --network-veth option in the systemd-nspawn command. This has worked a few hours ago (I know that because I ...
0
votes
1answer
77 views

Extract docker volumes from running container

My /var/lib/docker/volumes directory got accidentally lost. Some containers are running right now and the services aren't missing any files. For example, I'm running a maven repo (Sonatype Nexus) and ...
-1
votes
1answer
43 views

Container (Apache) exit after 1 seconds

I've made a mistake in my apache2.conf and so every time I try to start the container, it exits: #docker start portail portail #docker ps -a CONTAINER ID IMAGE COMMAND ...
0
votes
0answers
107 views

Flat LXD network?

I have a rather simple network setup, and from what I see LXD defaults to veth networking model, I was hoping for a simpler flat networking (external DHCP, direct access to external LAN) to run ...
2
votes
1answer
18 views

How to say when a service (any service) is available on a specific remote port

I'm using docker and docker-compose to compose a service which is a combination of several others. As the inner services are serving each other, there's a predefined priority by which they must be ...
1
vote
1answer
26 views

Setting up BART in a Solaris non-global zone (aka Solaris Zone)

So my question is about running BART (The Solaris Basic Audit Reporting Tool) inside of a Solaris non-global zone. I'm confused on this subject due to I have been reading a lot of conflicting views, ...
-4
votes
1answer
46 views

Trouble logging into Sphere 3D Glassware 2.0 containers on Azure

I've created a few Sphere 3D Glassware 2.0 VM's using the Azure marketplace, set the username password, and have not been able to log into the Sphere 3D admin panel on any of them with my username and ...
1
vote
1answer
61 views

How to exit all supervisor processes if one exited with 0 result

I run docker container with supervisor like this: Dockerfile CMD ["/run.sh"] run.sh #!/usr/bin/env bash exec supervisord -n supervisor-serf.conf [group:job] programs=serf,producer [program:...
-1
votes
1answer
51 views

Please explain the statement, “Containers are lightweight…you can run thousands on a server…” [closed]

In much of the hype around containers I often hear statements such as: Linux containers are very lightweight...you can potentially run thousands of them on a single server... I understand that ...
0
votes
2answers
72 views

Can I deploy the same app in multiple containers in Windows Server 2016

I am consolidating a bunch of super old servers (~200). All the code has been tweaked to be able to run on a single box. Except there is a 3rd party web service app that listens on a socket on each ...
2
votes
0answers
35 views

LXC bridge with several IP addresses

While trying to setup a small server with LXC containers, I encountered a problem: I want to assign 4 different IP addresses: 1 address for the host and 3 addresses in a different net for the ...
1
vote
0answers
364 views

Copy lxd containers between hosts

I've installed lxd on two ubuntu hosts that can only communicate via an intermediate server (on which I don't have su privileges). I've created a container on my localhost and now wish to load the ...
2
votes
1answer
105 views

Why does docker rm take almost 6 seconds to run?

I have a simple docker image based on ubuntu 15.10 that's just running bash. The image is around 1.2gb. It launches very quickly, but when I try to remove the container after it's exited, it always ...
1
vote
0answers
71 views

yum halts after installing 7 packages on centos container

I was curious about containers, so decided to give it a try. Prepared a server as host with a fresh install of CentOS 7, installed lxc and lxc-templates and configured a bridge interface. I've ...
0
votes
1answer
58 views

docker-compose: option to automaticaly remove container after run in docker-compose.yml

The docker-compose run reference states that it has the --rm option to Remove container after run. I want to make this a default run behavior for some of services I specify in docker-compose....
1
vote
0answers
203 views

Docker no space left on device [closed]

I have a Fedora/couchdb image running on my home server for the purpose of storing data collected for research. However, I recently had a problem accessing the CouchDB interface and so I attempted to ...
1
vote
0answers
69 views

Executing Cuda script in LXC container results in “cuda error: no CUDA-capable device is detected”

I followed the following instructions in order to set up Cuda inside an LXC container. When I try to execute the sample ./deviceQuery script inside the container following error is returned: $ ./...
0
votes
1answer
35 views

How to make a drive mount avaialble inside a container?

I intend to use the mount inside the container for a postgres database. I have been unable to make the drive available inside the container. So far I have: mounted /dev/sdb to /mnt/psql on the host ...
0
votes
0answers
50 views

Assigning IP addresses to Docker containers via DHCP accordance with local segment

Here, I want to set the IP address on ubuntu images in accordance with the existing IP Segment in my local. I've configured the Ubuntu images with dockerfile, by installing mc, and openssh in the ...
0
votes
0answers
45 views

Do LXC containers have access to PCI components such as PCIe SSDs and GPUs?

Do LXC containers have access to PCI components such as PCIe SSDs and GPUs? Do they support exclusive usage by using PCI passthrough like in a KVM?
3
votes
2answers
218 views

Should I split up an application in multiple, linked, Docker containers or combine them into one?

Background I'm currently working on building an application which I want to deploy to Docker containers. The containers will run on a server of mine. I want to have the ability to run other ...
2
votes
1answer
524 views

lxd container: port forwarding like docker

Is there a way to do port-forwarding in lxd-containers like docker does? I heard some rumours that there is no easy way. According to the homepage of lxd this is their goal: Intuitive (simple, ...
0
votes
1answer
18 views

Docker Compose - Adding wrong folder

I have a project folder containing my docker compose file. This references a child folder as a sub project. When running docker compose an ADD adds the docker-compose location and not the sub ...
1
vote
1answer
65 views

Does launching more then one web container on a single docker host make sense?

Say there is an application powered by docker. There could be containers for database, redis, etc and actual web containers (in my case it is php-fpm & nginx). Alternatively, it could be a purely ...
0
votes
0answers
76 views

Adding to tar archive /var/lib/mysql is it enough for backup restore task?

In every docker project, I have a backup.sh and restore.sh file I want to find a good way for backing up and restoring mysql backup using only ./restore.sh ${timestamp} My backup.sh look like ...
0
votes
1answer
104 views

HAProxy reverse proxying with Docker not working

I have one server. On this server I have one haproxy container, 2x node containers. I am trying to split up the following. https://mydomain -> 1e node container (x.x.x.x:8080) https://mydomain:81 -...
0
votes
1answer
98 views

Docker run command, expose port private only

docker run -it -p 8080 myimage /bin/bash I would expect the code above to expose port 8080 private. However when I run: docker ps -a It shows: 0.0.0.0:32770->8080/tcp How does one set port ...
2
votes
1answer
78 views

Docker container SSHOpen not staying up

I am trying to create an image which contains an openssh server and start it when invoking the run command. I have taken the following steps: docker pull ubuntu docker run -d -it ubuntu bash apt-get ...
3
votes
1answer
517 views

Jenkins CI Master-Slave setup with docker for slave server

So I have setup up two Ubuntu AWS Instances (a small t2.medium and a big r3.large). The t2.medium has Jenkins CI installed on it and the r3.large has docker engine installed on it. The intention here ...
3
votes
1answer
173 views

tutum - docker : hosts file not being updated as per links

I am using tutum to deploy an application that involves web and db conponents. Here are the relevant parts of the tutum.yml file. db: image: 'postgres:latest' ports: - '5432:5432' restart: ...
0
votes
1answer
547 views

Port inside linked docker container is not accessible to the other container

Following Docker's documentation on linking containers, I am trying to make two containers: salt-master and salt-minion, with salt-minion having a link to salt-master. Also, I am using the Dockerfile ...
0
votes
1answer
94 views

Install application inside docker container , only when it has not been installed before?

Is there a way to install any application inside docker container , only when it has not been installed before? For example; RUN apt-get install -y nginx Will install nginx everytime on a new ...
2
votes
1answer
229 views

call binary from docker container inside another docker container?

What would be the way to load a certain binary from a certain container in docker from inside another container? container 1: web container 2: ffmpeg I would want to call ffmpeg binary living in ...
0
votes
0answers
209 views

Proxying request from nginx docker container to tomcat docker container (all inside Vagrant VM)

Running a Vagrant (virtualbox) VM with two docker containers inside, nginx and tomcat. Want to host static files in nginx container and proxy web requests to the tomcat container. I've read up on ...
0
votes
0answers
310 views

Apache Allow Override Not Working with Docker Container

To sum it up; I can't get httpd.conf AllowOverride to work inside a CentOS:6.6 Docker Container. It completely hides the alias directory to any browser. I know it is not permissions and it is not ...
0
votes
1answer
258 views

Unable to start nginx on docker with mounted volume

I'm trying to create a container with a mounted volume so that nginx can use my custom config files. However, the container doesn't start up. docker-1.6.0 run --name a2 -p 443:443 -v /etc/nginx/conf....