| layout | permalink | title | type |
|---|---|---|---|
default |
/tips/ |
Wocker Tips |
tips |
wocker ~ $ wocker run [--name=""] wocker/wocker:nginxThis 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 runOR
wocker ~ $ wocker start CONTAINERFor 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 sshwocker ~ $ wocker start CONTAINERCONTAINER can be a name or ID of a container.
wocker ~ $ wocker wp search-replace wocker.dev wocker.testFor example, downgrade WordPress to 3.5.
wocker ~ $ wocker run --name testThis 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 --forceThis 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.