Q:

Warning message of deprecated link option of Docker

I try to link a wordpress container to a mysql container with following command and get the output of warning about deprecated option of -link.
$ sudo docker -v
Docker version 0.9.0, build 2b3fdf2
$ sudo docker ps
CONTAINER ID        IMAGE                    COMMAND             CREATED             STATUS              PORTS                     NAMES
3987ba6ef34e        p-baleine/mysql:latest   /run.sh             22 seconds ago      Up 21 seconds       0.0.0.0:49153->3306/tcp   sad_euclid          
$ sudo docker run -e="DB_PASSWORD=$DB_PASSWORD" -link sad_euclid:db -d -p 80 p-baleine/wordpress /run.sh
Warning: '-link' is deprecated, it will be removed soon. See usage.

I cannot find any information of deprecation of the link option.
Why the link option is deprecated and what is the alternative of this option?

A:

I check usage and I understand that options should be specified by prefixed double hyphen.
$ sudo docker run -e="DB_PASSWORD=$DB_PASSWORD" --link sad_euclid:db -d -p 80 p-baleine/wordpress /run.sh

