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
% docker-compose run --rm web rails assets:precompile
docker-compose up
% docker-compose up
VSCode
Remote Container
.devcontainer/devcontainer.json
{
// Update the 'dockerComposeFile' list if you have more compose files or use different names.// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make."dockerComposeFile": [
"../docker-compose.yml",
],
// Set *default* container specific settings.json values on container create."settings": {
"terminal.integrated.shell.linux": null
},
// Add the IDs of extensions you want installed when the container is created."extensions": [
"rebornix.ruby",
],
}
Debug
% docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c07f76a6b726 tootsuite/mastodon "/tini -- bundle exe…" 2 minutes ago Up 2 minutes (healthy) 127.0.0.1:3000->3000/tcp, 4000/tcp mastodon_web_1
% docker attach c07f76a6b726
22:08:56 web.1 | From: /opt/mastodon/app/controllers/about_controller.rb:18 AboutController#show:
22:08:56 web.1 |
22:08:56 web.1 | 16: def show
22:08:56 web.1 | 17: binding.pry
22:08:56 web.1 | => 18: end