Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker attach cli

Featured Replies

Trying to attach to docker images I pulled in from docker hub to figure out what the issues are...

I am new to docker however i cant figure out how to attach to the docker container to interface with the container.

Docker Newb Here

 

I usually run multiple vm's with with the apps installed native in the os and mod them to work for my app,

 

from what i have read i used docker attach [my container]

 

I get nothing from this command....

If I spell the container wrong I get told...

 

root@UNRAID:/run/lock# docker attach websync

Error: No such container: websync

root@UNRAID:/run/lock# docker attach WebSync

 

 

 

.... no response....

 

 

Thanks

 

Wes

  • 1 month later...

I am still learning this, but try "docker ps" which will list all containers.  The id of the container appears to be different than the image name.

 

When you attach to the docker you may just attach to a running process and not actually have shell access.  I assume what you really want to do is get shell access to the docker ....

 

docker exec -it DOCKERID bash

Docker exec works with the image name, no need for ids.

I just do a :

 

docker ps

 

cut-n-paste the id into

 

docker exec -it <paste> bash

 

then if I want to run top

 

export TERM=xterm

 

I find it faster to cut-n-paste the ID than trying to remember/figure out the names

 

david

The names should exactly match the application name you provided in the UI so its very easy to remember values like "NZBGets" or "Transmission" or "EggDrop" or "PyTivo".

 

Its by far easier than anything else.

The names should exactly match the application name you provided in the UI so its very easy to remember values like "NZBGets" or "Transmission" or "EggDrop" or "PyTivo".

 

Its by far easier than anything else.

 

Good to know.  I think was trying template name instead of the actual docker name.

 

I wrote a little script to help me with that. You are welcome to use it.

 

I haven't used it recently, let me know if there is a problem.

 

https://github.com/Data-Monkey/unRAID/blob/master/tools/DockerSelector.sh

 

That looks handy, I may borrow that :)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.