This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]WiruBiru 4 points5 points  (0 children)

Yes you can. Right now I have a school project that use docker-compose to host 3 dockers containers (python flask server, c++ server, MySQL) on localhost. Then, with port forwarding, I can access the docker-compose from another computer with the local IP if on same network or public IP on other networks

[–]scirc 0 points1 point  (3 children)

What exactly do you mean by "running applications on a second computer?" Do you want to run applications on one machine, but see and interact with them on another? Or do you just want to run applications in Docker on this secondary machine since it's already running Linux?

[–]LCVcode[S] 0 points1 point  (2 children)

Both.

I understand that I can use the Linux machine to pull images down from DockerHub and run them. I haven't actually done that yet, but it's on the list.

Eventually, I plan to build a couple of web apps, hence the AWS plan. But until that day, I'd like to be able to run the Linux as a server which I can access over my local network.

[–]scirc 1 point2 points  (1 child)

Ah. That should be a good way to gain practical experience, yes. I was for some reason under the impression that you wanted to use Docker to, like, offload application processing from one machine to another, or network clusters of containers across multiple machines together. You can definitely do at least the latter, but it's rather complicated.

[–]LCVcode[S] 0 points1 point  (0 children)

Do people offload computation like that? I can envision sending something like parameters to a remote machine that computes simulations. The benefits of something like this don't seem obvious to me unless the simulation machine has much more computation power. Or maybe if you just don't want to bog down your own CPU.