opencontainers / runtime-tools

OCI Runtime Tools
https://www.opencontainers.org/
Apache License 2.0
434 stars 141 forks source link

Undefined flags #705

Open himat opened 4 years ago

himat commented 4 years ago

I just installed the oci runtime tool

$ oci-runtime-tool --version
oci-runtime-tool version 0.9.0, commit: d1bf3e66ff0aa45840608d28eae6ce15f2cc9a26

and tried to run oci-runtime-tool generate --args "/usr/sbin/httpd" --args "-DFOREGROUND" --network=host --tmpfs=/tmp --tmpfs /run --tmpfs /var/log/httpd --tmpfs /r un/httpd --read-only --bind /tmp/rhel7-httpd:/var/www/html > config.json

But I got FATA[0000] flag provided but not defined: -network and when I removed teh network arg, I got FATA[0000] flag provided but not defined: -tmpfs

What were these arguments changed to in the new version? How do I modify my command to work now?