To create the image baszczewski/node
, execute the following command on the folder:
docker build -t baszczewski/node .
docker run -it --link mariadb:database -p 4040:4040 -v /home/user/data:/data:Z --name node baszczewski/node
docker run -it -p 4040:4040 -v /mnt/dysk/Docker/data/www:/data:z --name node baszczewski/node
sudo docker exec -it CONTAINER_ID bash