Questions tagged [rancher]

Rancher is an open source project that provides a complete platform for operating Docker in production.

Rancher is an open source project that provides a complete platform for operating Docker in production. It provides infrastructure services such as multi-host networking, global and local load balancing, and volume snapshots. It integrates native Docker management capabilities such as Docker Machine and Docker Swarm. It offers a rich user experience that enables devops admins to operate Docker in production at large scale.

https://github.com/rancherio/rancher

962 questions
163
votes
4 answers

docker-compose, run a script after container has started?

I have a service that I am bringing up through Rancher via docker-compose. The issue I am running into is that I need to set a password after the container has been deployed. The way rancher secrets work, is that I set my secret in and rancher will…
Blooze
  • 1,987
  • 4
  • 16
  • 19
87
votes
7 answers

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

I have a Rancher Deskop(dockerd) on M1 MacOS and when I am trying to build below dockerfile I am getting an error such as below. Here is the command how I am trying to build the image docker build -t te-grafana-dashboards-toolchain --no-cache . I…
semural
  • 3,583
  • 8
  • 37
  • 67
72
votes
3 answers

How to list exposed port of all containers?

We have lots of containers started using Rancher with each container exposing multiple ports. Since we started the containers with Rancher, no port is exposed to the host by default. $ docker container ls shows no exposed ports for containers…
WeSee
  • 3,158
  • 2
  • 30
  • 58
67
votes
3 answers

How is rancher different from Kubernetes

I have been trying to wrap my head around how Rancher (or DC/OS) is different from Kubernetes. Both of them say they are Container management tools. Why we do we need both? How are they different?
sam
  • 1,280
  • 2
  • 11
  • 20
21
votes
2 answers

Difference between NodePort, HostPort and Cluster IP

Rancher 2 provides 4 options in the "Ports" section when deploying a new workload: NodePort HostPort Cluster IP Layer-4 Load Balancer What are the differences? Especially between NodePort, HostPort and Cluster IP?
zarathustra
  • 1,898
  • 3
  • 18
  • 38
17
votes
1 answer

What's the purpose of a pod's service account, if automountServiceAccountToken is set to false?

The API credentials for service accounts are normally mounted in pods as: /var/run/secrets/kubernetes.io/serviceaccount/token This token allows containerized processes in the pod to communicate with the API server. What's the purpose of a pod's…
Shuzheng
  • 11,288
  • 20
  • 88
  • 186
16
votes
3 answers

Equivalent to Docker Desktop's 'host.docker.internal' in Rancher Desktop

For Docker Desktop inside a container, the DNS name host.docker.internal resolves to an IP address allowing network access to the host. Is there something similar when using Rancher Desktop? Assuming a running container (e.g the alpine image) in…
Andi
  • 650
  • 2
  • 8
  • 22
16
votes
6 answers

MountVolume.SetUp failed for volume "mongo" : hostPath type check failed: /mongo/data is not a directory

I'm trying to configure a hostPath to launch Mongodb pod. I have only one node of kubernetes v1.8.5 installed with rancher last stable version. I have create folder /mongo/data and allow all permissions to all users. I'm able to run docker image…
TlmaK0
  • 3,578
  • 2
  • 31
  • 51
15
votes
6 answers

Error: wsl.exe exited with code 4294967295 on Installing Rancher Desktop

I am getting the below error when installing the latest stable Rancher Desktop in my Virtual Machine. Could someone please help? Error: Error: wsl.exe exited with code 4294967295 Command: wsl --distribution rancher-desktop --exec mkdir -p…
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
15
votes
4 answers

Rancher with cattle vs Rancher with Kubernetes vs Standalone Kubernetes

I'm trying to dig into Rancher, and was wondering if having Rancher plugged in with Kubernetes has any additional benefits over Cattle which is Rancher's in home orchestration framework. So far, I haven't been able to figure out why someone would…
Vinod Kumar Rai
  • 304
  • 1
  • 5
  • 23
12
votes
4 answers

pod are not getting created in kubernetes but deployment exists?

I have a cluster running on Azure cloud. I have a deployment of a peer service on that cluster. But pods for that deployment is not getting created. I have also scaled up replica set for that depolyment. Even when i am trying to create simple…
Pankaj Cheema
  • 1,028
  • 2
  • 13
  • 26
11
votes
2 answers

Rancher template - Hadoop Illegal character in host-name

We use rancher template for hadoop+yarn, but it seems that hadoop is unable to deal with using container names as hostnames (eg. hadoop_namenode-primary_1). Caused by: java.net.URISyntaxException: Illegal character in hostname at index 13:…
Jendas
  • 3,359
  • 3
  • 27
  • 55
10
votes
1 answer

Openshift vs Rancher, what are the differences?

I am totally new to this two technologies (I know docker and kubernetes btw). Haven't find much an the web about this comparison topic. I have read that Openshift is used by more companies,but a nightmare to install,pricier and on upgrade data loss…
beatrice
  • 3,684
  • 5
  • 22
  • 49
10
votes
1 answer

Rancher CLI login error - Status [401 Unauthorized]. Body: [message=clusterID does not match]

I am getting this error while trying to login to the rancher CLI using the bearer token. The command I use is this: ./rancher login https:// --token I am creating the token using the Add Key button on the rancher UI and…
honor
  • 7,378
  • 10
  • 48
  • 76
9
votes
3 answers

How to make Terraform provider dependent on a resource being created

I am trying to utilize Rancher Terraform provider to create a new RKE cluster and then use the Kubernetes and Helm Terraform providers to create/deploy resources to the created cluster. I'm using this…
1
2 3
64 65