You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This repo contains [Docker](https://docker.com) labs and tutorials authored both by Docker, and by members of the community. We welcome contributions and want to grow the repo.
4
4
5
5
#### Docker tutorials:
6
-
*[Docker for beginners](beginner/readme.md)
6
+
*[Docker for beginners](beginner/readme.md)
7
7
*[Docker Swarm Mode](swarm-mode/README.md)
8
8
*[Configuring developer tools and programming languages](developer-tools/README.md)
9
9
* Java
@@ -20,7 +20,7 @@ This repo contains [Docker](https://docker.com) labs and tutorials authored both
20
20
21
21
#### Community tutorials
22
22
*[Docker Tutorials from the Community](https://github.com/docker/community/tree/master/Docker-Meetup-Content) - links to a different repository
23
-
*[Advanced Docker orchestration workshop](https://github.com/docker/labs/tree/master/Docker-Orchestration) - links to a different repository
23
+
*[Advanced Docker orchestration workshop](https://github.com/docker/labs/tree/master/Docker-Orchestration) - links to a different repository
24
24
25
25
For more information on Docker, see the Official [Docker documentation](https://docs.docker.com).
Copy file name to clipboardExpand all lines: beginner/chapters/setup.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Getting all the tooling setup on your computer can be a daunting task, but getti
8
8
9
9
The *getting started* guide on Docker has detailed instructions for setting up Docker on [Mac](https://docs.docker.com/docker-for-mac/), [Linux](https://docs.docker.com/engine/installation/linux/) and [Windows](https://docs.docker.com/docker-for-windows/).
10
10
11
-
*If you're using Docker for Windows* make sure you have [shared your drive](https://docs.docker.com/docker-for-windows/#/shared-drives).
11
+
*If you're using Docker for Windows* make sure you have [shared your drive](https://docs.docker.com/docker-for-windows/#shared-drives).
12
12
13
13
*Important note* If you're using an older version of Windows or MacOS you may need to use [Docker Machine](https://docs.docker.com/machine/overview/) instead.
Copy file name to clipboardExpand all lines: developer-tools/java-debugging/Eclipse-README.md
+18-3
Original file line number
Diff line number
Diff line change
@@ -154,13 +154,28 @@ Try to log into the application. Look at the value for password in the Eclipse v
154
154
155
155
In this MVC application the UserController uses the findByLogin method in the UserServiceImpl class which uses the findByUsername method to retrieve the information from the database. It then checks to see if the password from the form matches the user password. Since the password from the login form is not scrambled using ROT13, it does not match the user password and you cannot log into the application.
156
156
157
-
To fix this, apply ROT13 to the password by adding
157
+
To fix this, apply ROT13 to the password by adding an import near the top of the file
158
158
159
159
```
160
-
import com.docker.UserSignup.utit.Rot13
160
+
import com.docker.UserSignup.util.Rot13
161
+
```
162
+
163
+
and replace the contents of `findByLogin` with
161
164
162
-
String passwd = Rot13.rot13(password);
163
165
```
166
+
public boolean findByLogin(String userName, String password) {
167
+
User usr = userRepository.findByUserName(userName);
Set a breakpoint in UserServiceImpl on the findByLogin method. Log in again and look at the values for the breakpoint. The 'passwd' variable is `z0ol` which matches the password for the user moby.
Docker runs natively on Mac, Windows and Linux. This lab will use https://www.docker.com/community-edition[Docker Community Edition]. Follow the https://www.docker.com/community-edition[instructions] to install Docker.
21
15
22
16
NOTE: Docker for Mac and Windows have requirements for a fairly recent operating system version. If your machine does not meet these requirements, then you need to install https://www.docker.com/products/docker-toolbox[Docker Toolbox].
23
17
24
-
Complete set of operating systems are listed at http://docs.docker.com/engine/installation/[Install Docker Engine].
0 commit comments