The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
16 views

Assign port to container

On my container with ID 634eb4c5d6ee I have these ports: docker port 634eb4c5d6ee 222/tcp -> 0.0.0.0:222 8080/tcp -> 0.0.0.0:80 8443/tcp -> 0.0.0.0:443 Now I want to change 8080/tcp -> ...
0
votes
1answer
31 views

Why would a container not be bridged to the local network by default?

From my understanding on container technology (like lxc or docker), when you create a container it by default uses a "private network" like 10.0.1.x. I do not understand why you would not want it on ...
1
vote
0answers
33 views

fail to log from my app through rsyslogd in a linux container

Running an archlinux container on an archlinux host, both using rsyslog with the same configuration file: $ cat /etc/rsyslog.conf # Minimal config $ModLoad imuxsock # provides support for local ...
1
vote
0answers
35 views

Long term solution to running 3D applications in a virtual machine or container

I have a complex script written a few years ago and, although it currently works, almost every time I upgrade my machine something gets broken, and maintaining it really hinders my work. It acts as a ...
0
votes
0answers
74 views

Non-Root Container

I'm attempting to create some kind of gentoo "subsystem" without root permissions. I've encountered a problem with my approach and I'm wondering if it's possible to do or not. The way I'm attempting ...
0
votes
1answer
27 views

Can’t build and start docker container with mariadb

Host OS: Ubuntu 16.04 x86_64 Docker OS: Alpine Linux Edge Docker version: 1.11.0, build 4dc5990 MariaDB version: 10.1.13 I try to install MariaDB via Dockerfile and start it on entrypoint (...
1
vote
1answer
25 views

Mountable deduplicating container

I want a container that I can mount which dedups files within it. Basically, I'd like to have a simple backup solution where I mount it, copy my home folder with the name "Home (Feb 9)" and it only ...
0
votes
1answer
168 views

LXC ip allocation using DHCP

I'm trying to set up DHCP for my lxcontainers without using lxc-net. The reason for this decision is that I'd like to place my containers in different networks, such that they are unable to talk to ...
0
votes
1answer
74 views

does/could something like a realtime Linux container exist?

Not having any experience with realtime-Linux (so please bear with me if I'm asking something stupid), but having some knowledge about Linux containers (in the broader sense), I'm wondering: Is there ...
-1
votes
1answer
43 views

Connect Docker container and host to different network

I don't know if this makes any sense, but is it possible to use WiFi in host but only mobile broadband in a docker image?
1
vote
0answers
50 views

gnome-terminal from command line fails in some containers

I'm trying to run gnome-terminal in several containers on my machine (I'd like to run gnome-terminal from my ssh to the container), and on some of them it works fine, on others it fails silently (with ...
1
vote
0answers
41 views

Docker(-like virtualization) for non-ephemeral VMs/isolation? [closed]

Until now I used KVM/Xen for virtualization. I heared about docker beeing a light-weight alternative to it. But the official best practices of docker state that docker-container should be ephemeral. ...
2
votes
1answer
819 views

How to find out how much memory lxc container is allowed to consume?

I'm trying to make ansible set InnoDB buffer pool size to some percent of available memory. But ansible_memtotal_mb and free report how much memory the host has. How do I figure out how much memory is ...
1
vote
0answers
138 views

Move lxc container to a different host

I'd like to know, if it is possible to move a lxc container from one lxc host to a different one. Here are the specs of the machines: Current LXC host: Gentoo: Linux 3.7.10-gentoo #1 SMP x86_64 ...
0
votes
0answers
97 views

Will btrfs snapshots ever share page cache?

It's common to run multiple container images based on the same parent. In theory you should be able to share page cache between these containers automatically. E.g. some of the code in shared ...
1
vote
1answer
85 views

Setting up OpenVZ container private area

I would like to install two OpenVZ templates, each one in a different logical volume. I have created a separate partition, made it a physical volume, assigned it a group volume and separated in two ...
0
votes
2answers
526 views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build ...
1
vote
1answer
40 views

What is the correct way to start a container with a given command?

I want to create a set of containers for simulating network traffic. Inside each of the containers, I would like to set a different network delay. Right now I am doing it manually using this command, ...
2
votes
1answer
2k views

LXC external IP configuration for containers

I rent a dedicated server and want to use LXC instead of KVM. I want to buy IPs for every single container. For now i have two external IPs: 193.X.X.30/32 213.X.X.31/32 I prefer a routing solution ...
1
vote
0answers
119 views

Linux Container LXC Intra Host Networking Issues

I have a problem that I cannot seem to resolve. I have two hosts M and N. A container in host M can ping the gateway, its host and all containers in Host N but cannot ping any co-hosted container in ...
0
votes
1answer
5k views

How can i kill docker containers

I have seen many times i am not able to stop conatiner docker stop hashid Error response from daemon: Cannot stop container 1fdfd212ebb7: no such process FATA[0000] Error: failed to stop one or more ...
2
votes
0answers
316 views

Why is systemd-nspawn not appropriate for production deployments?

While reading about systemd-nspawn, it is mentioned that it should not be used in a production environment. The reason seems to be the lack of management and deployment infrastructure. Is practicality ...
4
votes
1answer
176 views

Understanding ssh X11 forwarding

I have a rather odd setup I'm trying to get working. I have an Ubuntu install running in a container (through Proxmox). The host computer is CentOS. Neither server is running an X instance. My host ...
1
vote
1answer
753 views

openssh-server doesn't start in Docker container

I am having a weird problem. I am not able to ssh to docker container having ip address 172.17.0.61. I am getting following error: $ ssh 172.17.0.61 ssh: connect to host 172.17.0.61 port 22: ...
7
votes
3answers
5k views

How to create user cgroups with systemd

I use unprivileged lxc containers in Arch Linux. Here are the basic system infos: [chb@conventiont ~]$ uname -a Linux conventiont 3.17.4-Chb #1 SMP PREEMPT Fri Nov 28 12:39:54 UTC 2014 x86_64 GNU/...
6
votes
2answers
1k views

Is it possible to run a 10.04 or 12.04 or earlier LTS containerized under LXC or Docker on Trusty?

Is it possible to have a vanilla installation of Ubuntu 14.04 (Trusty) and run inside it containerized older Ubuntu versions that originally came with older kernels? For example for 12.04 I'd assume ...
7
votes
2answers
849 views

replicate and isolating user environments on the fly

I will be using Ubuntu Linux for this project. For training of a particular application at a conference I need: To have each student be able to ssh into the same user account on a server Upon each ...
0
votes
2answers
529 views

ARM LXC Container template

I've been trying to run LXC on an ARM architecture (arm6l - Raspberry Pi) but with no luck. After some research, I found that maybe trying to run a x86 template on my ARM was causing the problem (bash ...
1
vote
0answers
232 views

Containers running on ARM

I've been doing some research and decided to implement OpenVZ since it allows each container to be isolated from other containers, unlike LXC. However, OpenVZ is still not supported for ARM ...
2
votes
2answers
473 views

Container lockdown

I was reading about LXC vs OpenVZ and was wondering if this issue has already been solved in more recent updates: OpenVZ has done quite a good job at this, but LXC still has issues here. Even ...
8
votes
2answers
2k views

LXC containers as a sandbox environment

I am currently starting a project evaluating untrusted programs (student assignments) in a secure sandbox environment. Main idea is to create a web app for GlassFish and Java wrapper around lxc-utils ...
5
votes
3answers
911 views

Problem with mount namespaces under Fedora

I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
3
votes
1answer
1k views

Limit process resource consumption in CentOS 5 (2.6.18 kernel)

I would like to limit the resource (CPU, Memory, and network bandwidth) consumption of processes on the same server. And it will be good if I can migrate processes from one server to another. I ...
5
votes
2answers
974 views

How can I use Skype with lxc?

Under Scientific-linux? https://en.wikipedia.org/wiki/LXC I just want to separate Skype, because I don't trust it. We are using it only to call/chat with people, no file transfers!
6
votes
1answer
4k views

LXC container network/routing issues

I have been experimenting with LXC virtualisation in order to run virtual machines on a dedicated server, but am having trouble setting up the networking properly. I am using veth bridged networking, ...
10
votes
5answers
4k views

Process descendants

I'm trying to build a process container. The container will trigger other programs. For example - a bash script that launches running background tasks with '&' usage. The important feature I'm ...