* Update basic_setup.md Signed-off-by: bells17 <bells171@gmail.com> * Edit the commented content Signed-off-by: bells17 <bells171@gmail.com> * Standardize format: add "$ " prefix to commands and sudo to systemctl Signed-off-by: bells17 <bells171@gmail.com> * Use https://github.com/youki-dev/youki Signed-off-by: bells17 <bells171@gmail.com> * Edit the commented content Signed-off-by: bells17 <bells171@gmail.com> * Edit the commented content Signed-off-by: bells17 <bells171@gmail.com> * Fix command format in docs Signed-off-by: bells17 <bells171@gmail.com> --------- Signed-off-by: bells17 <bells171@gmail.com>
1.7 KiB
Migration Guide
This contains information for migrating library versions.
v0.2.0 -> v0.3.0
libcgroups
- Switched from dbus-rs to a native dbus implementation see #2208 for motivation behind this. This replaces the
dbusmodule withdbus_nativemodule. However, As this is not in public interface for the crate, the users of this crate should not need any code changes. As this removes the dependency on thelibdbussystem library, you can uninstall it if desired.
v0.1.0 -> v0.2.0
libcontainer
-
The
Rootlessstruct has been re-named asUserNamespaceConfig,RootlessIDMapperhas been re-named toUserNamespaceIDMapper, and correspondingly theRootlessErrorhas been re-named toUserNamespaceError. This is due to the fact that the structure was to be used for containers when a new user namespace is to be created, and that is not strictly only for rootless uses. Accordingly, the fields of various structs has been updated to reflect this change :- rootless (module name) -> user_ns
- Rootless.rootless_id_mapper -> UserNamespaceConfig.id_mapper
- LibcontainerError::Rootless -> LibcontainerError::UserNamespace
- ContainerBuilderImpl.rootless -> ContainerBuilderImpl.user_ns_config
- ContainerArgs.rootless -> ContainerArgs.user_ns_config
-
Executor now contains 2 methods for implementation. We introduce a
validatestep in addition to execute. Thevalidateshould validate the input OCI spec. The step runs after all the namespaces are entered and rootfs is pivoted. -
Executor is now composible instead of an array of executor. To implement multiple executor, create a new executor that runs all the executor. The users are now in control of how multiple executor are run.