def METHOD_NAME(self):
    try:
        subprocess.check_call(['docker', 'pull', 'vault'])
        subprocess.check_call(['docker', 'run', '-d',
                               '-e', 'SKIP_SETCAP=yes',
                               '-e', 'VAULT_DEV_ROOT_TOKEN_ID=my_vaulttoken',
                               '-e', 'VAULT_TOKEN=my_vaulttoken',
                               '--name=vault_for_buildbot',
                               '-p', '8200:8200', 'vault'])
        self.addCleanup(self.remove_container)
        subprocess.check_call(['docker', 'exec',
                               '-e', 'VAULT_ADDR=http://127.0.0.1:8200/',
                               'vault_for_buildbot',
                               'vault', 'kv', 'put', 'secret/key', 'value=word'])
        subprocess.check_call(['docker', 'exec',
                               '-e', 'VAULT_ADDR=http://127.0.0.1:8200/',
                               'vault_for_buildbot',
                               'vault', 'kv', 'put', 'secret/anykey', 'anyvalue=anyword'])
        subprocess.check_call(['docker', 'exec',
                               '-e', 'VAULT_ADDR=http://127.0.0.1:8200/',
                               'vault_for_buildbot',
                               'vault', 'kv', 'put', 'secret/key1/key2', 'id=val'])
    except (FileNotFoundError, subprocess.CalledProcessError) as e:
        raise SkipTest("Vault integration needs docker environment to be setup") from e