Installing Rancher on Azure

Hi there,

I’m currently using docker cloud and thought I’d give rancher a shot.

I followed the single node setup guide but I can’t access the UI.

Here’s what I did:

  1. Provision a VM - Ubuntu Xenial
  2. Install docker - test containers work fine
  3. Follow instructions “Installing Rancher Server (Single Node)” - my docker command is
    sudo docker run -d -v /srv/rancher/data:/var/lib/mysql --restart=always -p 8080:8080 rancher/server:stable
  4. Open port 8080 for the Azure VM

It seems the container is stuck on a DB setup step, looking at the container logs I see the following last entry:
time="2016-07-29T15:25:15Z" level=info msg="Creating schema machine, roles [readonly]" id=1ds20

Can anyone offer any advice as to why this might be happening?

Thanks in advance.

Can you share your full logs from the rancher/server container?

Hi there,

I traced the issue to the network security group in Azure.

Everything is working great, just testing out some stacks now.

Thanks for getting back!