Code Monkey home page Code Monkey logo

os's Introduction

Development and Maintenance Status

RancherOS 1.x is no longer being actively maintained. There are two significant reasons behind this product decision:

  1. Docker - The current industry requirements for a container runtime are very much evolving. Container runtimes like containerd and CRIO are now being actively considered as the default choice. RancherOS 1.x, which was specifically designed around using Docker engine only, unfortunately does not lend itself, in its current design, to this new evolving requirement.
  2. ISV Support - RancherOS was specifically designed as a minimalistic OS to support purpose-built containerized applications. It was not designed to be used as a general purpose OS (such as CentOS or Ubuntu). As such, most ISVs have not certified their software to run on RancherOS, nor does RancherOS even contain the necessary components for many of these applications to run.

We're working on a replacement. Stay tuned!

RancherOS

Build Status Docker Pulls Go Report Card

The smallest, easiest way to run Docker in production at scale. Everything in RancherOS is a container managed by Docker. This includes system services such as udev and rsyslog. RancherOS includes only the bare minimum amount of software needed to run Docker. This keeps the binary download of RancherOS very small. Everything else can be pulled in dynamically through Docker.

How this works

Everything in RancherOS is a Docker container. We accomplish this by launching two instances of Docker. One is what we call the system Docker which runs as the first process. System Docker then launches a container that runs the user Docker. The user Docker is then the instance that gets primarily used to create containers. We created this separation because it seemed logical and also it would really be bad if somebody did docker rm -f $(docker ps -qa) and deleted the entire OS.

How it works

Release

  • v1.5.8 - Docker 19.03.15 - Linux 4.14.138

ISO

Special docker-machine Links

Additional Downloads

AMD64 Links

ARM64 Links

Cloud Links

VMware Links

Hyper-V Links

Proxmox VE Links

4G-LTE Links

Note:

  1. you can use http instead of https in the above URLs, e.g. for iPXE.
  2. you can use latest instead of v1.5.8 in the above URLs if you want to get the latest version.

Amazon

SSH keys are added to the rancher user, so you must log in using the rancher user.

HVM

Region Type AMI
eu-north-1 HVM ami-08b189555c5d2d8c3
ap-south-1 HVM ami-0086964cb1ffc4fdb
eu-west-3 HVM ami-088930cafc1ad9f20
eu-west-2 HVM ami-0fdf07cfd187af004
eu-west-1 HVM ami-0cea454c576ececbd
ap-northeast-2 HVM ami-0fdb6555f88256d12
ap-northeast-1 HVM ami-052c75c3e8757bcd9
sa-east-1 HVM ami-04e51c9d1edad1bfd
ca-central-1 HVM ami-006a1ff3bf21003b3
ap-southeast-1 HVM ami-03b14c67c74644c2b
ap-southeast-2 HVM ami-07059c8f12411bfcb
eu-central-1 HVM ami-0fc1a9332c246bc56
us-east-1 HVM ami-02fe87f853d560d52
us-east-2 HVM ami-004259f4c48585992
us-west-1 HVM ami-0b382b76fadc95544
us-west-2 HVM ami-0cdefa6a0646eb511

Additionally, images are available with support for Amazon EC2 Container Service (ECS) here.

Azure

You can get RancherOS in the Azure Marketplace, currently only the rancher user can be logged in through SSH keys.

Documentation for RancherOS

Please refer to our RancherOS Documentation website to read all about RancherOS. It has detailed information on how RancherOS works, getting-started and other details.

Support, Discussion, and Community

If you need any help with RancherOS or Rancher, please join us at either our Rancher forums or #rancher IRC channel where most of our team hangs out at.

For security issues, please email [email protected] instead of posting a public issue in GitHub. You may (but are not required to) use the GPG key located on Keybase.

Please submit any RancherOS bugs, issues, and feature requests to rancher/os.

Please submit any Rancher bugs, issues, and feature requests to rancher/rancher.

License

Copyright (c) 2014-2020 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

os's People

Contributors

aemneina avatar bensallen avatar bruienne avatar cglewis avatar cloudnautique avatar datawolf avatar deitch avatar dieterreuter avatar dweomer avatar etrexel avatar galal-hussein avatar gizmotronic avatar ibuildthecloud avatar imikushin avatar janeczku avatar joshwget avatar kingsd041 avatar konsumer avatar niusmallnan avatar olleolleolle avatar pierre-emmanuelj avatar psftw avatar rancher-sy-bot avatar silex avatar stffabi avatar superseb avatar svendowideit avatar vancluever avatar vincent99 avatar wlan0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

os's Issues

127.0.0.1 is not assigned to lo in system-docker

The networking does not initialize lo with 127.0.0.1 in the host namespace. For a temporary work around just run

sudo system-docker --net=host --privileged debian ip addr add 127.0.0.1/8 dev lo

Local IP's inaccessible

Try to connect to any local IP, say the one on the eth0 interface. That'll take forever, so you just can't.

From my terminal:

rancher@rancher:~$ ip addr show dev eth0

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:22:20:2e brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:fe22:202e/64 scope link 
       valid_lft forever preferred_lft forever


rancher@rancher:~$ ping 10.0.2.15

PING 10.0.2.15 (10.0.2.15) 56(84) bytes of data.
^C
--- 10.0.2.15 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4004ms

weird mounts show up in the console container

Why???

                          df: /sys/fs/cgroup/devices: No such file or directory
                          df: /sys/fs/cgroup/freezer: No such file or directory
                          df: /sys/fs/cgroup/memory: No such file or directory
                          df: /sys/fs/cgroup/net_cls: No such file or directory
                          df: /sys/fs/cgroup/perf_event: No such file or directory
                          /dev/vda              20511356    141116  19305280   1% /var
                          none                    512268         8    512260   0% /var/run
                          df: /var/lib/docker/overlay/80811ffbdb54d378f701f17dadfd33d097e4c2553ca5e3b97d4e
                          1bece7a97b10/merged: No such file or directory
                          df: /var/lib/docker/overlay/73a32b21e82d40f9b2ab2bb2fb116805396ed9f57449999290da
                          8aa74fbf4704/merged: No such file or directory
                          df: /var/lib/docker/overlay/26446ede5979e952e218673f945d67c5550712e3f93ce2032978
                          750e940e32e5/merged: No such file or directory
                          overlay               20511356    141116  19305280   1% /
                          tmpfs                   512268         0    512268   0% /dev
                          shm                      65536         0     65536   0% /dev/shm
                          /dev/vda              20511356    141116  19305280   1% /etc/resolv.conf
                          /dev/vda              20511356    141116  19305280   1% /etc/hostname
                          /dev/vda              20511356    141116  19305280   1% /etc/hosts
                          /dev/vda              20511356    141116  19305280   1% /home
                          /dev/vda              20511356    141116  19305280   1% /opt
                          /dev/vda              20511356    141116  19305280   1% /var/lib/rancher/conf
                          none                    512268         8    512260   0% /var/run

Bad output in "top" command

There seems to be a bug in busybox top command:

Mem: 449532K used, 159356K free, 0K shrd, 0K buff, 139914323006485K cached
CPU: 0% usr 0% sys 0% nic 99% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.01 0.05 1/111 598
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
1 0 root S 700m 118% 0% docker -d -s overlay -b none --restart
208 1 root S 485m 81% 0% docker -d -s overlay --tlsverify --tls
267 1 root S 147m 25% 0% respawn -f /etc/respawn.conf
198 1 root S 54068 9% 0% rsyslogd -n
548 546 rancher S 20088 3% 0% sshd: rancher@pts/4
557 555 rancher S 20076 3% 0% sshd: rancher@pts/5
530 333 root S 20076 3% 0% sshd: rancher [priv]
496 494 rancher S 20076 3% 0% sshd: rancher@pts/0
546 333 root S 20076 3% 0% sshd: rancher [priv]
538 333 root S 20076 3% 0% sshd: rancher [priv]
494 333 root S 20076 3% 0% sshd: rancher [priv]
555 333 root S 20076 3% 0% sshd: rancher [priv]
522 333 root S 20076 3% 0% sshd: rancher [priv]
532 530 rancher S 20076 3% 0% sshd: rancher@pts/2
524 522 rancher S 20076 3% 0% sshd: rancher@pts/1
540 538 rancher S 20076 3% 0% sshd: rancher@pts/3
333 267 root S 17484 3% 0% /usr/sbin/sshd -D
549 548 rancher S 14884 2% 0% -bash
497 496 rancher S 14884 2% 0% -bash
558 557 rancher S 14880 2% 0% -bash

failed to install rancheros on VirtualBox

first, the rancheros-install is not exist, i pull it from /scripts/dockerimages/scripts/rancheros-install
then, i use sudo rancheros-install -d /dev/sda -c ./cloud_data.yml -v v0.1.2 -t generic
it show me The file /dev/sda1 is not exist and no size was specified

Segmentation fault for "ip addr show"

Running the command ip addr show results in a segmentation fault. Running ifconfig works OK.

[rancher@rancher ~]$ ip addr show
1: lo: <LOOPBACK> mtu 65536 qdisc noop
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 08:00:27:fc:5f:eb brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
       valid_lft forever preferred_lft forever
Segmentation fault

SELinux Support

SELinux and / or GRSecurity would greatly improve the potential for rancher to be used in production environments.

Userdocker keeps restarting

Looking at /var/log/userdocker.log you see

exec docker -d -s overlay --tlsverify --tlscacert=/etc/docker/tls/ca.pem --tlscert=/etc/docker/tls/server-cert.pem --tlskey=/etc/docker/tls/server-key.pem -H=0.0.0.0:2376 -H=unix:///var/run/docker.sock -G docker
time="2015-02-24T23:41:36Z" level="info" msg="+job serveapi(tcp://0.0.0.0:2376, unix:///var/run/docker.sock)" 
time="2015-02-24T23:41:36Z" level="fatal" msg="Couldn't create Tag store: unexpected end of JSON input" 

What file system is used?

I can't seem to find details on what file system is being used by default. Apologies if I did not look hard enough.

Cannot find RANCHER_STATE partition on Hyper-V

It started just fine. I can also get on to the network and see /dev/sda. I was able to format the /dev/sda partition and give it the RANCHER_STATE label.

The problem is it fails to detect RANCHER_STATE partition after reboot.

device out of space error when running iso on openstack/qemu

Given a virtual machine with the following stats:

4 VCPUs
8 GB RAM
80 GB HDD

Running the latest rancheros.iso on qemu on openstack juno.

I expect that pulling a handful of images will succeed (assume the rancher-agent image already ran successfully). In my case, I tried running the dockerized version of gitlab with a few supporting containers.

Instead, the pull fails with 'no space remaining'. If I install docker on a trusty-taur vm of similar or smaller sizes, all steps above succeed with flying colors.

UPDATE:
Please used the packer repo here to build your own qemu image:
https://github.com/cloudnautique/rancher-packer

You should be able to create a flexible disk image and install cloud-init on it if you need that service too.

For those interested in an official Openstack build, see #261

userdata on EC2

It seems that if we pass some user-data to start a rancheros instance on EC2, a #cloud-config file will conflict with the keypair being used. Hence using the keypair to ssh into the instance fails.

I have not checked logs, but without specifying #cloud-config user data, ssh using the keypair works.

rancherctl tool lacks necessary error messages

When I mistype the name of an addon it should have told me the addon does not exist:

[rancher@rancher ~]$ sudo rancherctl addon enable ubunut-console
[rancher@rancher ~]$ sudo rancherctl addon list
ubuntu-console disabled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.