0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

dockerを使った開発環境構築

Last updated at Posted at 2019-04-06

Install docker

MariaDB

docker run --name mysqld -e MYSQL_DATABASE=testdb -e MYSQL_USER=user -e MYSQL_PASSWORD=password -e MYSQL_ROOT_PASSWORD=root -d -p 3306:3306 mariadb 

docker exec -it mysqld /bin/sh

mysql -uroot -proot

cf.)

Redis

docker run --name my-redis -d -p 6379:6379 redis redis-server

cf.)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?