morganllewellynjones / container_project

An attempt to create a container runtime similar to Docker run, but in Rust.
0 stars 1 forks source link

Parse command line arguments from user #3

Closed morganllewellynjones closed 5 months ago

morganllewellynjones commented 7 months ago

Will have to specify a usage statement for how a user accesses the program. In particular a user should be able to do the following:

--mount (mount a filesystem to the container process) --publish (publish an ip address and port to be shared with the host) --cgroup (there should be cgroup settings to control memory allowances, etc.)

morganllewellynjones commented 5 months ago

Command line arguments are being parsed, albeit for a completely different set of purposes.

--root directory_name [cmd args...]

Additional arguments to be introduced as features are introduced.