Click here to Skip to main content
15,895,142 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why is it so difficult ... Pin
11917640 Member 22-Aug-18 19:50
11917640 Member 22-Aug-18 19:50 
GeneralRe: Why is it so difficult ... Pin
Dan Neely23-Aug-18 3:15
Dan Neely23-Aug-18 3:15 
Question"Docker" Pin
Eytukan22-Aug-18 1:06
Eytukan22-Aug-18 1:06 
AnswerRe: "Docker" PinPopular
Nelek22-Aug-18 1:13
protectorNelek22-Aug-18 1:13 
AnswerRe: "Docker" Pin
HobbyProggy22-Aug-18 1:25
professionalHobbyProggy22-Aug-18 1:25 
GeneralRe: "Docker" Pin
Kornfeld Eliyahu Peter22-Aug-18 1:42
professionalKornfeld Eliyahu Peter22-Aug-18 1:42 
GeneralRe: "Docker" Pin
HobbyProggy22-Aug-18 1:53
professionalHobbyProggy22-Aug-18 1:53 
GeneralRe: "Docker" Pin
kalberts22-Aug-18 22:31
kalberts22-Aug-18 22:31 
If you include HTTP/HTML in you "GUI" concept, then Docker can handle GUIs. Quite a few Dockerized applications provide a user interface of mice and men (ues), like any other web application.

Anything that goes over IP will work. I guess you could even do X11 (remember X11?), although I never heard of anyone doing that.

Anything non-IP will give you problems, though, whether user I/O or other I/O. You can't plug a USB device into a container. Or some instrumentation interface. Or physical interfaces like I2I / SPI. Or even a serial port.

Some people are trying to tunnel USB over IP: Your Dockerized application is given a driver API stub that marshals all the parameters into an IP packet and forwards it to a machine "out there in the free world", unwrapping the IP packet and feeding the parameter into a real physical interface. This is not provided as a basic mechanism; consider it a somewhat experimental hack, which may cause some problems (e.g. far higher latency than you experience with a direct physical access. In principle, you could similarly tunnel any protocol over IP (hey, that's exactly what RFC 791 describes as its primary purpose!), but the only such effort I am aware of is with USB.

The only "standard" alternative to IP is that you can mount a host file system in a running container, one or more files in that file system being pipes. The "external" end of the pipe may be whatever that works in a non-Dockerized world.

As a main rule, any tunneling-over-IP or pipie solution requires a general machine on the outside. That USB solution I know of requires it to be a Linux machine. I guess it could be the same machine that hosts the Docker engine, if that is a Linux box. If you have to set up another Linux box just to hold your physical USB interface, then your gain from Dockerizing becomes somewhat limited.

The IP tunneling means that you have the freedom to place the physical interface anywhere in the (internet) world, as long as the proper software to handle the IP communication is available, but I guess latency could be a significant problem for e.g. trans-Atlantic USB connnections.

I would not advocate any such tunneling solution. I think use of Docker should be limited to pure processing work, with only "primitive" I/O requirements, or plain web applications running HTTP/HTML.
AnswerRe: "Docker" Pin
Nathan Minier22-Aug-18 1:41
professionalNathan Minier22-Aug-18 1:41 
GeneralRe: "Docker" Pin
Kornfeld Eliyahu Peter22-Aug-18 1:47
professionalKornfeld Eliyahu Peter22-Aug-18 1:47 
GeneralRe: "Docker" Pin
Nathan Minier22-Aug-18 1:54
professionalNathan Minier22-Aug-18 1:54 
GeneralRe: "Docker" Pin
dandy7222-Aug-18 7:16
dandy7222-Aug-18 7:16 
GeneralRe: "Docker" Pin
Nathan Minier22-Aug-18 9:16
professionalNathan Minier22-Aug-18 9:16 
GeneralRe: "Docker" Pin
dandy7222-Aug-18 14:11
dandy7222-Aug-18 14:11 
GeneralRe: "Docker" Pin
Nathan Minier23-Aug-18 1:56
professionalNathan Minier23-Aug-18 1:56 
GeneralRe: "Docker" Pin
dandy7223-Aug-18 5:03
dandy7223-Aug-18 5:03 
GeneralRe: "Docker" Pin
Nathan Minier23-Aug-18 5:45
professionalNathan Minier23-Aug-18 5:45 
GeneralRe: "Docker" Pin
dandy7223-Aug-18 10:53
dandy7223-Aug-18 10:53 
GeneralRe: "Docker" Pin
Kornfeld Eliyahu Peter22-Aug-18 10:45
professionalKornfeld Eliyahu Peter22-Aug-18 10:45 
GeneralRe: "Docker" Pin
kalberts23-Aug-18 3:29
kalberts23-Aug-18 3:29 
AnswerRe: "Docker" PinPopular
F-ES Sitecore22-Aug-18 2:09
professionalF-ES Sitecore22-Aug-18 2:09 
AnswerRe: "Docker" Pin
Mike Hankey22-Aug-18 2:45
mveMike Hankey22-Aug-18 2:45 
AnswerRe: "Docker" Pin
RickZeeland22-Aug-18 2:46
mveRickZeeland22-Aug-18 2:46 
AnswerRe: "Docker" Pin
Richard Deeming22-Aug-18 3:23
mveRichard Deeming22-Aug-18 3:23 
AnswerRe: "Docker" Pin
kmoorevs22-Aug-18 4:15
kmoorevs22-Aug-18 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.