Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

LXC

LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC provides operating system-level virtualization by providing a virtual environment that has its own process and network space. LXC relies on the Linux kernel cgroups functionality. LXC is similar to other OS-level virtualization technologies on Linux such as OpenVZ and Linux-VServer, as well as those on other operating systems such as FreeBSD.

Share tech news, updates, or what's on your mind.

Sign up to Post

how can I get a docker container to contiully restart all the time . I am using this for a demo and what a simple container that all it will do is keep restarting

I guess pass a command to it for "sudo reboot" or something like that ?

thanks !
0
On Demand Webinar - Networking for the Cloud Era
LVL 10
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

I am new to kubernetes and have started building a cluster on RHEL 7.3. I have kubernetes cluster setup on the master. When i try to use kubeadm join --token ancdbs.askdcvasdckasd x.x.x.:6443 The node is not able to join with following error message.

[discovery] Trying to connect to API Server "10.26.24.37:6443" [discovery] Created cluster-info discovery client, requesting info from "https://10.26.24.37:6443"

[discovery] Failed to connect to API Server "10.26.24.37:6443": there is no JWS signed token in the cluster-info ConfigMap. This token id "a7d815" is invalid for this cluster, can't connect

current version on master/nodes are as shown below.

Kubeadm version node:
kubeadm version: &version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0",
GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean",
BuildDate:"2017-06-29T22:55:19Z", GoVersion:"go1.8.3", Compiler:"gc",
Platform:"linux/amd64"}

Kubeadm version master:
kubeadm version: &version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.0",
GitCommit:"d3ada0119e776222f11ec7945e6d860061339aad", GitTreeState:"clean",
BuildDate:"2017-06-29T22:55:19Z", GoVersion:"go1.8.3", Compiler:"gc",
Platform:"linux/amd64"}
0
We've NodeJS applications running inside docker containers. Sometimes, if any process gets locked down or due to any other issue the app goes down and we've to manually login to each container n restart the application. I was wondering if there is any sort of control panel that allow us to easily and quickly restart those and see the whole health of the system.

Please Note: we can't use --restart flag because essentially application doesn't exist with exist code. It run into problem like some process gets blocked, things are just getting bogged down vs any crashes and exist codes. That's why I don't think restart policy will help in this scenario.
0
i want to juju bootstrap localhost but the client cannot connect to the lxd daemon during installation..it seems to be a routing problem. both subnets are on the same vlan.

vlan 400

192.168.10.0/24
10.14.162.0/24

root@maas:~# ifconfig
ens160    Link encap:Ethernet  HWaddr 00:50:56:99:5f:63  
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe99:5f63/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:390619 errors:0 dropped:5 overruns:0 frame:0
          TX packets:68215 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:534722073 (534.7 MB)  TX bytes:19579105 (19.5 MB)

ens192    Link encap:Ethernet  HWaddr 00:50:56:99:14:a0  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:469882 errors:0 dropped:0 overruns:0 frame:0
          TX packets:351 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:555261395 (555.2 MB)  TX bytes:34514 (34.5 KB)

ens224    Link encap:Ethernet  HWaddr 00:50:56:99:12:b9  
          inet addr:192.168.178.114  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe99:12b9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8611 errors:0 dropped:0 overruns:0 frame:0
          TX packets:217 errors:0 dropped:0 overruns:0 …
0

LXC

LXC is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. LXC provides operating system-level virtualization by providing a virtual environment that has its own process and network space. LXC relies on the Linux kernel cgroups functionality. LXC is similar to other OS-level virtualization technologies on Linux such as OpenVZ and Linux-VServer, as well as those on other operating systems such as FreeBSD.

Top Experts In
LXC
<
Monthly
>