Guest User

Untitled

a guest
Jun 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. jq "$addJson + ." > "$dir/$layerId/json" <<-'EOJSON'
  2. {
  3. "created": "0001-01-01T00:00:00Z",
  4. "container_config": {
  5. "Hostname": "",
  6. "Domainname": "",
  7. "User": "",
  8. "AttachStdin": false,
  9. "AttachStdout": false,
  10. "AttachStderr": false,
  11. "Tty": false,
  12. "OpenStdin": false,
  13. "StdinOnce": false,
  14. "Env": null,
  15. "Cmd": null,
  16. "Image": "",
  17. "Volumes": null,
  18. "WorkingDir": "",
  19. "Entrypoint": null,
  20. "OnBuild": null,
  21. "Labels": null
  22. }
  23. }
  24. EOJSON
  25.  
  26. jq: error: syntax error, unexpected '+', expecting $end (Windows cmd shell quoting issues?) at <top-level>, line 1:
  27. + del(.history, .rootfs)
  28. jq: 1 compile error
Add Comment
Please, Sign In to add comment