diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-07-28 16:22:48 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-10-20 09:20:33 -0400 |
commit | 338d521782727daca90efc2601b16502626aa53c (patch) | |
tree | 136a76602dd2bc62e3248332db888dd43ca9c3d1 /libpod/container_graph.go | |
parent | f9655d92d660bad46a992831605960767fedc44a (diff) | |
download | podman-338d521782727daca90efc2601b16502626aa53c.tar.gz podman-338d521782727daca90efc2601b16502626aa53c.tar.bz2 podman-338d521782727daca90efc2601b16502626aa53c.zip |
Re-create OCI runtimes by path when it is missing
When an OCI runtime is given by full path, we need to ensure we
use the same runtime on subsequent use. Unfortunately, users are
often not considerate enough to use the same `--runtime` flag
every time they invoke runtime - and if the runtime was not in
containers.conf, that means we don't have it stored inn the
libpod Runtime.
Fortunately, since we have the full path, we can initialize the
OCI runtime for use at the point where we pull the container from
the database.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container_graph.go')
0 files changed, 0 insertions, 0 deletions