User Tools

Site Tools


start

This is an old revision of the document!


function a(x,y)
  print(x..","..y)
end
# as root
# create shinsekai user
useradd -u 6127 shinsekai -s /bin/bash --create-home
 
# create servers directories
su - shinsekai
mkdir server1
mkdir server2
exit
 
# create containers / run servers
docker run --net=host -it --name shinsekai1 -v /home/shinsekai/server1:/shinsekai/data archzenvald/shinsekai-server 
# Ctrl-P Ctrl-Q to detach
docker run --net=host -it --name shinsekai2 -v /home/shinsekai/server2:/shinsekai/data archzenvald/shinsekai-server 
# Ctrl-P Ctrl-Q to detach
 
# stop
docker stop shinsekai1
 
# start
docker start shinsekai1
start.1491157867.txt.gz · Last modified: 2017/04/02 18:31 by archzenvald