diff --git a/Documentation/dev-guide.md b/Documentation/dev-guide.md
index 407e5b8b3d6d8f8ceaa053b00e930fbec27692b8..ef3da133894859c4f875c01c001d02c67cc811e8 100644
--- a/Documentation/dev-guide.md
+++ b/Documentation/dev-guide.md
@@ -74,8 +74,8 @@ docker run --name dex_postgres -d postgres
 export DEX_TEST_DSN=postgres://postgres@postgres/postgres?sslmode=disable
 
 # Run the test container, linking it to the Postgres container.
-DOCKER_LINKS=dex_postgres:postgres DOCKER_ENV=DEX_TEST_DSN ./go-docker ./test-functional docker
+DOCKER_LINKS=dex_postgres:postgres DOCKER_ENV=DEX_TEST_DSN ./go-docker ./test-functional
 
 # Remove the container after the tests are run.
-rm -f dex_postgres
+docker rm -f dex_postgres
 ```