Public Repository

Last pushed: 2 years ago
Short Description
ubuntu 14.04 with mysql-5.6 and openssh-server
Full Description

Mysql 5.6

1.Start mysql-5.6

docker run -d interhui/mysql-5.6 /usr/bin/mysqld_safe

2.Get ip

docker inspect --format='{{.NetworkSettings.IPAddress}}' container_id/name

3.Login to mysql server

Mysql root's default password is admin

mysql -hmysql-host -uroot -padmin 

SSH

1.Start ssh

docker run -d interhui/mysql-5.6 /usr/sbin/sshd -D

2.Login to container

root's default password is admin

ssh root@{ip}
Docker Pull Command
Owner
interhui

Comments (0)