Ask Your Question

How to configure an existing Kolla OpenStack installation to enable Docker

asked 2016-03-21 12:58:17 -0500

anonymous user


updated 2016-03-21 13:32:44 -0500

Hi all,

I have a working Kolla multi node OpenStack installation and I want to configure one of my compute nodes to use Docker containers.

Following the instructions from: wiki/Docker#Configure_an_existing_OpenStack_installation_to_enable_Docker

I would like to install Docker on my compute host, but I don't seem to have the right privileges.


docker exec -i -t nova_compute bash

sudo yum update

I get prompted for: [sudo] password for nova:

But none of the passwords I expected to work are accepted. I am using the out-of-the-box Kolla passwords.yml

Any suggestion would be appreciated. Sincerely, Guy

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-03-22 06:43:24 -0500

raimonbosch gravatar image

You will need to add user 'nova' to the 'docker' group

edit flag offensive delete link more


Thanks raimonbosch,

On my node I have docker installed correctly and I can execute bash inside my container via: docker exec -i -t nova_compute bash

Once in bash in the container I can't sudo. Prompted for nova password inside the container.

Thanks, Guy

gloewy gravatar imagegloewy ( 2016-03-22 10:40:06 -0500 )edit

The permissions inside the docker container have to be handled on your Dockerfile. There you can specify your users and your passwords.

raimonbosch gravatar imageraimonbosch ( 2016-03-30 08:00:02 -0500 )edit

answered 2016-08-31 09:45:08 -0500

updated 2016-08-31 09:45:38 -0500

note to get past the sudo problem, try:

docker exec -it -u root nova_compute bash

This isn't the correct way to enable docker as a hypervisor for Kolla, however. But feel free to experiment and report back what you find. I am pretty sure you could use Docker as a hypervisor with Kolla as is via the customization feature (/etc/kolla/config) however, I don't know the details.

You may need Newton third party plugins feature (we don't backport features) or to customize your dockerfile directly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-21 12:58:17 -0500

Seen: 556 times

Last updated: Aug 31 '16