Got it

Container Operation Command for IVS3800

466 0 2 0 0
  1. Querying a Container List

       Log in to the server as the root user and run the docker ps –a command to view the container list on the server.

a

  2. Viewing Container Running Details


    Log in to the server as the root user and run the docker stats command to view container running details.

    View the CPU usage, memory usage, network I/O, disk I/O, and number of processes in the container and check whether the container has OOM key commands.

b

 3. Accessing and Exiting a Container

    Run the docker exec –it CONTAINERID bash command to access the container

         a. Access the IVS container as the root user by default.

            b.  Access the CSP container as the pass user by default. To log in to the CSP container as the root user, run the docker exec –it –u root CONTAINERID bash command.

        Enter exit in the container to exit the container and return to the server.

4. Copying Server Files to a Container

    Run the docker cp SRC_PATH CONTAINER:DEST_PATH command to copy server files to a container.

5. Copying Container Files to a Server

   Run the docker cp CONTAINER:SRC_PATH DEST_PATH command to copy container files to a server.

a

6. Performing Operations in a Container

   After a user accesses a container, the operation commands in the container are the same as those on the Linux system.

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.