It is currently Sun Jul 21, 2019 3:41 am
All times are UTC + 8 hours

docker shell problem

Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.

docker shell problem

Postby itorres » Tue Feb 06, 2018 5:05 am

Hi,

I have installed the docker app.
My problem is that I cannot get the shell of any docker container.

I first ssh to my asustor machine and I type as root the docker exec command. But I always get the same error or warning, and nothing else happens. I am still on the asustor shell.

Code: Select all
# docker exec -it <CONTAINER_ID> sh
# docker: /lib/liblzma.so.5: no version information available (required by /usr/local/lib/libsystemd-journal.so.0)
#

I have not been able to identify the reason of the error "no version information available". How to solve it ?
Anybody has been able to get the shell of any docker container ?

Thanks in advance.
itorres
 
Posts: 1
Joined: Tue Feb 06, 2018 4:47 am

Re: docker shell problem

Postby clinton.hall » Mon Mar 04, 2019 3:01 pm

To fix the issue with version information
Code: Select all
export LD_LIBRARY_PATH="/volume1/.@plugins/AppCentral/docker/lib:$LD_LIBRARY_PATH"

Prior to running the docker exec command.

However I have not been able to get sh or bash to open in any container. These appear to close almost immediately.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Return to Docker

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest