~/datato the docker folder
/home/tigergraph/mydata, then anything you put on
~/datawill be visible in the docker container under
/home/tigergraph/mydata, and vice versa.
-d: make the container run in the background.
-p: map docker 22 port to host OS 14022 port, 9000 port to host OS 9000 port, 14240 port to host OS 14240 port.
--name: name the container tigergraph.
--ulimit: set the
ulimit(the number of open file descriptors per process) to 1 million.
-v: mount the host OS
~/datafolder to the docker
/home/tigergraph/mydatafolder using the -v option. If you are using Windows, change the above ~/data to something using windows file system convention, e.g.
-t: allocate a pseudo-TTY
docker.tigergraph.com/tigergraph:latest: download the latest docker image from the TigerGraph docker registry URL docker.tigergraph.com/tigergraph.
tigergraphas the password. Note that we have mapped the host 14022 port to the container's 22 port (the ssh default port), so on the host we use ssh to connect to port 14022.
Linux users can access the container through its ip address directly:
gadmin start, you can go to GraphStudio. Open a browser on your laptop (host OS) and access GraphStudio at the following URL: