- Modify
Dockerfile
to set up password for SSH - Execute:
docker-compose up -d
(remove-d
for foreground mode) - Log into server:
ssh root@localhost -p 2022
- Set up root password for mysql:
mysqladmin -u root password '<NEW_PASSWORD>'
bartsolutions/docker-ssh-lamp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Minimum Docker for SSH + Linux (Ubuntu) + Apache + MySQL + PHP
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published