css-only-chat icon indicating copy to clipboard operation
css-only-chat copied to clipboard

Add config files to run the project on Docker environment

Open akky opened this issue 5 years ago • 7 comments

To run the project on my local, I wrote docker files and this may be useful for someone else.

How to run

  1. set up docker machine / client
  2. docker-compose up --build
  3. open browser(s) to access http://<your docker machine's IP address>:9292/

Docker machine's IP address can be seen on "docker-machine ls".

akky avatar May 08 '19 07:05 akky

I think it would only be wise to alias puma to cougar and execute that way... Just so we all better understand just how dangerous this might be.

james-powis avatar May 08 '19 20:05 james-powis

What is docker machine/client?Take a example,please.

rmd1710714107 avatar May 11 '19 01:05 rmd1710714107

Martin: Docker is a tool for running containers. Containers are like virtual machines, but lightweight.

DockerMachine is a way to run docker on a Mac or Windows computer (usually you have to run it on Linux).

An alternative is Docker for Mac, which is, as I understand it, newer.

kkuchta avatar May 11 '19 14:05 kkuchta

@james-powis Would you mind explaining what exactly is dangerous? I don't currently have a workstation with docker so I cant test

downloadpizza avatar May 11 '19 15:05 downloadpizza

Martin: Docker is a tool for running containers. Containers are like virtual machines, but lightweight.

DockerMachine is a way to run docker on a Mac or Windows computer (usually you have to run it on Linux).

An alternative is Docker for Mac, which is, as I understand it, newer.

In a word it is a virtual machine that runs some programs.

rmd1710714107 avatar May 12 '19 09:05 rmd1710714107

@Martin730913 Yes, but actually no. It uses the Linux Kernel of your OS (If you use Linux, it is basically a VM in Windows, at least until WSL2 comes out). That means it uses a lot less resources, allowing you to run a lot of containers

downloadpizza avatar May 12 '19 09:05 downloadpizza

@Martin730913 Yes, but actually no. It uses the Linux Kernel of your OS (If you use Linux, it is basically a VM in Windows, at least until WSL2 comes out). That means it uses a lot less resources, allowing you to run a lot of containers

Ok,I see. Thanks for your patient reply.

rmd1710714107 avatar May 13 '19 07:05 rmd1710714107