Starting And Stopping The Container; Starting The Container - Digi IX20-WAG4 User Manual

Table of Contents

Advertisement

Containers
...
(config system container name)>
b. Add the port:
(config system container name)> add ports end port1
(config system container name)>
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.

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. Log into the IX20 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.
IX20 User Guide
Starting and stopping the container
Authentication groups
for information about
678

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20

Table of Contents