V
V
Vasily2021-12-05 14:16:18
ubuntu
Vasily, 2021-12-05 14:16:18

Is it possible to get proprietary software GUI from Ubuntu docker?

As I understand it, docker is just a virtual machine, and communication with it goes through ports.
1s server can be put there, there are no questions, but I need to somehow isolate several file 1s.
If I put a docker on the windows server, inside the ubuntu + 1c client container, is it possible to somehow get the GUI from the docker?
It is possible to output it to the browser through Apache, yes, but I'm afraid that the employees will not quite understand me, and I have no experience with the web version.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
Gennady S, 2021-12-05
@snaiper04ek

Theoretically possible, but it will be a terrible sorcery. You will need to deploy an X server inside the container, give it access to the host hardware, and then connect to it via VNC, for example. This is complicated by the presence of a Windows host, where running graphical applications in WLS2 can be a non-trivial task. No one will give you a ready-made recipe, it does not exist, although you can find guides for launching graphical applications in Docker in general, which is not a fact - whether the solution is right for you.
It is rational to find another solution. It's not entirely clear what does the web version have to do with it, if we are talking about a file database? Can a browser work with it? And if it is possible to use a client that connects to a server, why put the client inside a container when only the server can be placed there? Plus, it is not clear what kind of isolation you are trying to solve, especially when it comes to the file base. Containers are not a good option for storing files. On the contrary, it makes sense to create volumes outside the container, even for server databases. And if the volume is taken out of the container, what isolates the container?

K
ky0, 2021-12-05
@ky0

Docker is not a virtual machine, but an application container.
The rest looks like a reflection on the task in the void.

D
Drno, 2021-12-05
@Drno

Windows +
linux virtuals +
Docker virtuals do not start a full-fledged system
. For this, LXD containers or a virtual are used.
I use debian on which KVM virtual machines are deployed

A
Alexander Karabanov, 2021-12-05
@karabanov

If I install docker on windows server

Then immediately abandon this idea, since Docker under Windows runs in a virtual machine. It is still possible to use this in development, but it cannot be used for sales.
Immediately lift the virtual machine and place all the necessary software in it, no additional layers are needed.
For the record, Docker is not some magical technology - it's just a set of utilities to conveniently manage the namespace and cgroups that are part of the Linux kernel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question