Tag : Docker

I started a docker db on the server and put mongodb on it. Then, an active is started to play nodejs. The two containers can communicate with each other if they use network, but the problem is that if nodejs directly uses public network ip, it cannot access db, but the local machine has no ..

Read more

Run ‘docker COMMAND –help’ for more information on a command. ➜ run ddocker run -it b.gcr.io/tensorflow/tensorflow zsh: command not found: ddocker ➜ run docker run -it b.gcr.io/tensorflow/tensorflow docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? . See ‘docker run –help’. ➜ run journalctl -xn zsh: command not found: journalctl ..

Read more

#apt-get install openssh-server openssh-client #mkdir /var/run/sshd #ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key #ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key #/usr/sbin/sshd I ssh localhost I tried to create the password generated by ssh and reset the password of root. I couldn’t log in with the root password. I asked for advice on what was going on. It took me ..

Read more

Docker, as the hottest container technology at present, has attracted much attention.Many domestic enterprises have access to Docker to put their own business into containers to achieve better service. As the core of container technology, cluster arrangement is naturally the focus of each family.At present, container layout technology is mainly divided into two camps: Kubernets ..

Read more

Docker, I installed it and everything is working!I installed a mongodbNow the question is:1. I need to modify mongodb’s configuration file in the containerHow do I modify this file, vi command container not! (Note that I want to keep this configuration for a long time. Is it only possible to make it a mirror image)2. ..

Read more