Last active
April 27, 2019 09:10
-
-
Save skynet86/2c342e0fa9c17601a486730a0cf6c65c to your computer and use it in GitHub Desktop.
setup inner docker -docker2
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
# Log into our docker2 container | |
$ docker exec -it docker2 sh | |
# Go to folder | |
cd /usr/share/nginx/html/ | |
# Edit index.html as below | |
$ vi index.html | |
# index.html | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Welcome to nginx!</title> | |
<style> | |
body { | |
width: 35em; | |
margin: 0 auto; | |
font-family: Tahoma, Verdana, Arial, sans-serif; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Welcome to nginx!</h1> | |
<p>If you see this page, the nginx web server is successfully installed and | |
working. Further configuration is required.</p> | |
<br /> | |
<h2> | |
<p>For more blogs please refer to <br /> | |
<a href="http://rssfeed2018.s3-website.eu-west-3.amazonaws.com/"> | |
RSS Feed of Medium.com </a> | |
</p> | |
</h2> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment