Category : docker-machine

I want to create a custom MySQL docker image in https://labs.play-with-docker.com/ using existing mysql file. MySQL file looks like below. abc.mysql create schema my-schema1; use my-schema1; create table table1( id bigint primary key, name varchar(50) ); insert into table1 values(7009009001,’Carry’); select * from table1; create schema my-schema2; use my-schema2; create table table2( id bigint primary ..

Read more

I have a server where I run my docker containers. On my laptop (where I run docker commands) I create docker-machine using this command: create –driver generic –generic-ip-address 192.168.1.1 –generic-ssh-key ~/.ssh/key –generic-ssh-user myuser dockerMachineName This renames my server to "dockerMachineName". Why docker does that? Is there any way to prevent that? (yeah, using the same ..

Read more

I have 3 virtual machines in azure account, docker swarm network has been created and there were services running, all are working fine. But when infra team migrated the vm’s to new account by cloning, all the docker containers stopped. When i start those containers/services it is again getting exited. In this process the ip ..

Read more