Starting And Stopping The Container; Starting The Container - Digi IX30 User Manual

Table of Contents

Advertisement

Containers
8. Save the configuration and apply the change:
(config network wireless client new_client)> save
Configuration saved.
>
9. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.

Starting and stopping the container

Container commands are not available from the Admin CLI. You must access the device shell in order
to run Python applications from the command line. See
configuring authentication groups that include shell access.
Note
Container support must be enabled in Digi Remote Manager. Contact your Digi sales
representative for information.

Starting the container

There are two methods to start containers:
Non-persistent: Changes made to the container file system will be lost when the container is
n
stopped.
Persistent: Changes made to the container file system when not be lost when the container is
n
stopped.
Starting a container in non-persistent mode
To start the container in non-persistent mode:
1. Select a device in Remote Manager that is configured to allow shell access to the admin user,
and click Actions > Open Console. Alternatively, log into the IX30 local command line as a user
with shell access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
2. At the shell prompt, type:
# lxc container_name
lxc #
where container_name is the name of the container as configured on the device. For example:
# lxc test_lxc
lxc #
This will start the container by using /bin/sh -l, which runs the shell and loads the shell profile. The
default shell profile includes an lxc # prompt.
Starting a container in persistent mode
To start the container in persistent mode, include the -p option at the command line. For example:
IX30 User Guide
Starting and stopping the container
Authentication groups
for information about
814

Advertisement

Table of Contents
loading

Table of Contents