forked from ezsystems/ezpublish-docker
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ezsystems#29 from ezsystems/welcome_screen
Add welcome text with help info for ssh login
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
\e[42mWelcome to eZ Platform(/Publish 5.3+) VM using Docker!\e[0m | ||
|
||
To check content of the project/app directory, go to: | ||
$ cd /vagrant/volumes/ezpublish | ||
|
||
To see running containers and their names: | ||
$ docker ps | ||
|
||
To run any kind of command on a running container: | ||
$ docker exec <continer-name> <command> | ||
|
||
Example, run bash to be able to check out things in a container: | ||
$ docker exec -ti <continer-name> bash | ||
|
||
Tip: Containers does not have things like Vim. Using bash, install it using: | ||
$ apt-get install vim | ||
|
||
To work with eZ Platform in a container that has composer, php & db: | ||
$ docker run -ti --volumes-from=vagrant_composercachevol_1 \ | ||
--volumes-from=vagrant_ezpublishvol_1 \ | ||
--link=ezpublishdocker_db1_1:db vagrant_ezpinstall:latest bash | ||
|
||
Tip: eZ Platform inside these containers are placed in `/var/www`. |