Skip to content

Pootle Makey commands

Allan Nordhøy edited this page Apr 23, 2018 · 1 revision

Makey Docker commands

Pootle uses a command runner makey.

You can use any of the following commands to work with demo, dev, or production images

The following examples will use production but you can substitute any of the commands.

Pulling images

(host) makey pull production

Running commands inside a container

All of the following commands run inside of containers

Running pootle commands - e.g. migrate

(host) makey production pootle migrate

Running an interactive shell

(host) makey production shell
(app) pootle --version
Pootle 2.9.0rc1 (Django 1.10.8, Translate Toolkit 2.2.5)

Running other Bash commands with a containerized virtualenv

(host) makey production bash whoami
pootle

Running commands in the container of a running service

To Bash into a running container you can use exec. Notice the order of arguments in the command.

(host) makey exec production whoami
root

You can Bash interactively with no command

(host) makey exec production
root@05fd242a68fd:/#
Clone this wiki locally