layout | permalink | title | type |
---|---|---|---|
default |
/tips/ |
Wocker Tips |
tips |
wocker ~ $ wocker run [--name=""] wocker/wocker:nginx
This creates and runs a new container over wocker/wocker:nignx
image. This could take a while on the first run as your local machine downloads the required image.
wocker ~ $ wocker run
OR
wocker ~ $ wocker start CONTAINER
For more information about MailHog, please see https://github.com/mailhog/MailHog.
config.vm.hostname = "wocker.test"
Make sure you have the above code on line 27 on your Vagrantfile
.
$ vagrant up
$ vagrant ssh
wocker ~ $ wocker start CONTAINER
CONTAINER
can be a name or ID of a container.
wocker ~ $ wocker wp search-replace wocker.dev wocker.test
For example, downgrade WordPress to 3.5.
wocker ~ $ wocker run --name test
This will create a new container test
. If you already have a container to downgrade, just start it, or if it's running, just skip this step.
wocker ~ $ wocker wp core download --version=3.5 --force
This will force download WordPress 3.5 to the running container using the wocker wp
command. After this finishes successfully, you will have a WordPress 3.5 environment if you visit http://wocker.dev. You can change 3.5
to any version you want.